aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-10-26 21:00:23 +0000
committerPaul Brook <paul@codesourcery.com>2004-10-26 21:00:23 +0000
commit0c6616e1ae0b5342f6d7ee2bbd1bee7d6764e824 (patch)
tree5a7056d5f7a5c689bce8b6f6065ea11eb9d09300 /ld/testsuite/ld-elfvers
parentcaeba88f70f9a9f20e265719c9f41ace516a7308 (diff)
downloadgdb-0c6616e1ae0b5342f6d7ee2bbd1bee7d6764e824.zip
gdb-0c6616e1ae0b5342f6d7ee2bbd1bee7d6764e824.tar.gz
gdb-0c6616e1ae0b5342f6d7ee2bbd1bee7d6764e824.tar.bz2
Missed from previous commit.
ld/testsuite/ * ld-elfvers/vers29.c: New file. * ld-elfvers/vers29.dsym: New file. * ld-elfvers/vers29.ver: New file.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r--ld/testsuite/ld-elfvers/vers29.c5
-rw-r--r--ld/testsuite/ld-elfvers/vers29.dsym1
-rw-r--r--ld/testsuite/ld-elfvers/vers29.ver3
3 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfvers/vers29.c b/ld/testsuite/ld-elfvers/vers29.c
new file mode 100644
index 0000000..15c63a8
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers29.c
@@ -0,0 +1,5 @@
+/* Test for default versioning. */
+void show()
+{
+}
+
diff --git a/ld/testsuite/ld-elfvers/vers29.dsym b/ld/testsuite/ld-elfvers/vers29.dsym
new file mode 100644
index 0000000..2e7bbde
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers29.dsym
@@ -0,0 +1 @@
+[0-9a-f]*[ ]+g[ ]+DF[ ]+.text[ ]+[0-9a-f]*[ ]+vers29.so[ ]+(0x[0-9a-f]*|)[ ]*show
diff --git a/ld/testsuite/ld-elfvers/vers29.ver b/ld/testsuite/ld-elfvers/vers29.ver
new file mode 100644
index 0000000..85c05a8
--- /dev/null
+++ b/ld/testsuite/ld-elfvers/vers29.ver
@@ -0,0 +1,3 @@
+Version definitions:
+1 0x01 0x0965d95f vers29.so
+2 0x00 0x0965d95f vers29.so