aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr19789.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr19789.d')
-rw-r--r--ld/testsuite/ld-elf/pr19789.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr19789.d b/ld/testsuite/ld-elf/pr19789.d
new file mode 100644
index 0000000..e7cc6c5
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr19789.d
@@ -0,0 +1,10 @@
+#ld: -r -E
+#readelf: -s --wide
+#target: *-*-linux* *-*-gnu* *-*-solaris*
+
+Symbol table '\.symtab' contains [0-9]+ entries:
+#...
+ +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +foo@@VERS.2
+#...
+ +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ +foo@VERS.1
+#pass