summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-elfvers/vers24.rd
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elfvers/vers24.rd')
-rw-r--r--binutils-2.21/ld/testsuite/ld-elfvers/vers24.rd15
1 files changed, 15 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elfvers/vers24.rd b/binutils-2.21/ld/testsuite/ld-elfvers/vers24.rd
new file mode 100644
index 0000000..e5b55b1
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-elfvers/vers24.rd
@@ -0,0 +1,15 @@
+Relocation section .*
+# Ensure there is a dynamic relocation against x
+#...
+[0-9a-f]+ +[0-9a-f]+ R_.* +x(| \+ 0)
+#...
+Symbol table '.dynsym' contains [0-9]+ entries:
+# And ensure the dynamic symbol table contains at least x@VERS.0
+# and foo@@VERS.0 symbols
+#...
+ +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ foo@)@VERS\.0
+#...
+ +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ foo@)@VERS\.0
+#...
+Symbol table '.symtab' contains [0-9]+ entries:
+#pass