aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+