aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-08-14 03:26:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-08-14 03:26:48 +0000
commit80425074bb104dbf31af6b026bee2d89bf1b60ed (patch)
treee2073223d987efc83a4497141d94551f42f82754 /ld/testsuite/ld-elfvers
parentc828c7718e56b25f8d007081addec8646a47de52 (diff)
downloadgdb-80425074bb104dbf31af6b026bee2d89bf1b60ed.zip
gdb-80425074bb104dbf31af6b026bee2d89bf1b60ed.tar.gz
gdb-80425074bb104dbf31af6b026bee2d89bf1b60ed.tar.bz2
2002-08-13 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp: Add vers23c and vers23d. * ld-elfvers/vers23c.ver: New. * ld-elfvers/vers23d.dsym: New.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp2
-rw-r--r--ld/testsuite/ld-elfvers/vers23c.ver4
-rw-r--r--ld/testsuite/ld-elfvers/vers23d.dsym2
3 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index edb8073..4cd76b9 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -835,4 +835,6 @@ build_vers_lib "vers22" vers22.c vers22 "vers22a.so vers22b.so" "" vers22.ver ve
# Test versioned definitions in different files.
build_vers_lib "vers23a" vers23a.c vers23a "" vers23a.map vers23a.ver vers23a.dsym vers23a.sym
build_vers_lib "vers23b" vers23b.c vers23b "" vers23b.map vers23b.ver vers23b.dsym ""
+build_vers_lib "vers23c" vers23b.c vers23c "vers23a.so" vers23b.map vers23c.ver vers23b.dsym ""
+build_exec "vers23d" vers23.c vers23d "tmpdir/vers23a.so tmpdir/vers23c.so" "" vers23.ver vers23d.dsym ""
build_exec "vers23" vers23.c vers23 "tmpdir/vers23a.so tmpdir/vers23b.o tmpdir/vers23b.so" "" vers23.ver vers23.dsym ""
diff --git a/ld/testsuite/ld-elfvers/vers23c.ver b/ld/testsuite/ld-elfvers/vers23c.ver
new file mode 100644
index 0000000..73d7716
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers23c.ver
@@ -0,0 +1,4 @@
+Version definitions:
+1 0x01 0x065ea90f vers23c.so
+2 0x00 0x05aa7610 VERS.0
+
diff --git a/ld/testsuite/ld-elfvers/vers23d.dsym b/ld/testsuite/ld-elfvers/vers23d.dsym
new file mode 100644
index 0000000..b31b82b
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers23d.dsym
@@ -0,0 +1,2 @@
+[0-9a-f]* DF \*UND\* [0-9a-f]* VERS.0 (0x[0-9a-f][0-9a-f] )?bar
+[0-9a-f]* DF \*UND\* [0-9a-f]* VERS.0 (0x[0-9a-f][0-9a-f] )?foo