aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-04-23 16:40:04 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-04-23 16:40:04 +0000
commit834216a99a41614c9d422f64272b7ec187d0d703 (patch)
treee2c0b2c8aef26d55f0486359526812e317f0841c /ld
parent365f913182f2ebf3e2bb78354f49615def4b179e (diff)
downloadgdb-834216a99a41614c9d422f64272b7ec187d0d703.zip
gdb-834216a99a41614c9d422f64272b7ec187d0d703.tar.gz
gdb-834216a99a41614c9d422f64272b7ec187d0d703.tar.bz2
Check in the new files.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-elfvers/vers25a.c1
-rw-r--r--ld/testsuite/ld-elfvers/vers25a.dsym2
-rw-r--r--ld/testsuite/ld-elfvers/vers25a.map5
-rw-r--r--ld/testsuite/ld-elfvers/vers25a.ver4
4 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers25a.c b/ld/testsuite/ld-elfvers/vers25a.c
new file mode 100644
index 0000000..f5be371
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers25a.c
@@ -0,0 +1 @@
+void foo () {}
diff --git a/ld/testsuite/ld-elfvers/vers25a.dsym b/ld/testsuite/ld-elfvers/vers25a.dsym
new file mode 100644
index 0000000..fcf6384
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers25a.dsym
@@ -0,0 +1,2 @@
+[0]*[ ]+g[ ]+DO[ ]+\*ABS\*[ ]+[0]*[ ]+VERS.0[ ]+VERS.0
+[0-9a-f]*[ ]+g[ ]+DF[ ]+.text[ ]+[0-9a-f]*[ ]+VERS.0[ ]+(0x[0-9a-f]*|)[ ]*foo
diff --git a/ld/testsuite/ld-elfvers/vers25a.map b/ld/testsuite/ld-elfvers/vers25a.map
new file mode 100644
index 0000000..31bfc76
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers25a.map
@@ -0,0 +1,5 @@
+VERS.0 {
+ global:
+ foo;
+ local: *;
+};
diff --git a/ld/testsuite/ld-elfvers/vers25a.ver b/ld/testsuite/ld-elfvers/vers25a.ver
new file mode 100644
index 0000000..81a7160
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers25a.ver
@@ -0,0 +1,4 @@
+Version definitions:
+1 0x01 0x065d090f vers25a.so
+2 0x00 0x05aa7610 VERS.0
+