aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr20828-d.sd
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr20828-d.sd')
-rw-r--r--ld/testsuite/ld-elf/pr20828-d.sd9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr20828-d.sd b/ld/testsuite/ld-elf/pr20828-d.sd
new file mode 100644
index 0000000..a5777a4
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr20828-d.sd
@@ -0,0 +1,9 @@
+# Make sure `vdata' is global rather than local in the dynamic symbol table,
+# e.g.:
+# Num: Value Size Type Bind Vis Ndx Name
+# 1: 00000000 0 OBJECT GLOBAL DEFAULT ABS vdata
+# vs:
+# 1: 00000000 0 OBJECT LOCAL DEFAULT ABS vdata
+#...
+ *[0-9]+: +[0-9a-f]+ +0 +OBJECT +GLOBAL +DEFAULT +ABS +vdata
+#pass