aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-05-08 19:51:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-05-08 19:51:48 +0000
commit54c9a60f31b98386fa7f94ac3daf05a0ffe523fb (patch)
tree2e360ab9ce75971da9a34b616286fdbb66355127 /ld/testsuite/ld-elfvers
parenta25fbfec627d600ca7b8fc268842628f7b477ba8 (diff)
downloadgdb-54c9a60f31b98386fa7f94ac3daf05a0ffe523fb.zip
gdb-54c9a60f31b98386fa7f94ac3daf05a0ffe523fb.tar.gz
gdb-54c9a60f31b98386fa7f94ac3daf05a0ffe523fb.tar.bz2
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test versioned reference for hidden symbol. * ld-elfvers/vers27d4.dsym: New file. * ld-elfvers/vers27d4.ver: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp2
-rw-r--r--ld/testsuite/ld-elfvers/vers27d4.dsym1
-rw-r--r--ld/testsuite/ld-elfvers/vers27d4.ver3
3 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index 97cfaf3..8054aa8 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -937,3 +937,5 @@ build_vers_lib_no_pic "vers27c2" vers27c.c vers27c2 "vers27a.so vers27b.o" "" ve
build_vers_lib_pic "vers27d1" vers27d1.c vers27d1 "" vers27a.map vers27d.ver vers27d.dsym vers27d.sym
build_vers_lib_pic "vers27d2" vers27d2.c vers27d2 "" "" vers27b.ver vers27b.dsym ""
build_executable "vers27d3" vers27d3.c vers27d3 "vers27b.o vers27d2.so vers27d1.so" "" vers27b.ver vers27b.dsym ""
+build_vers_lib_pic "vers27d4" vers27d2.c vers27d4 "vers27a.so" "" vers27d4.ver vers27d4.dsym ""
+build_executable "vers27d5" vers27d3.c vers27d5 "vers27d4.so vers27b.o vers27a.so" "" vers27b.ver vers27b.dsym ""
diff --git a/ld/testsuite/ld-elfvers/vers27d4.dsym b/ld/testsuite/ld-elfvers/vers27d4.dsym
new file mode 100644
index 0000000..d800afa
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers27d4.dsym
@@ -0,0 +1 @@
+[0-9a-f]* DF \*UND\* [0-9a-f]* VERS.0 (0x[0-9a-f][0-9a-f] )?foo
diff --git a/ld/testsuite/ld-elfvers/vers27d4.ver b/ld/testsuite/ld-elfvers/vers27d4.ver
new file mode 100644
index 0000000..12c79c9
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers27d4.ver
@@ -0,0 +1,3 @@
+Version References:
+ required from tmpdir/vers27a.so:
+ 0x05aa7610 0x00 02 VERS.0