aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21233.sd
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr21233.sd')
-rw-r--r--ld/testsuite/ld-elf/pr21233.sd9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21233.sd b/ld/testsuite/ld-elf/pr21233.sd
new file mode 100644
index 0000000..74d446d
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr21233.sd
@@ -0,0 +1,9 @@
+# Make sure the `bar' reference 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 UND bar
+# vs:
+# 1: 00000000 0 OBJECT LOCAL DEFAULT UND bar
+#...
+ *[0-9]+: +[0-9a-f]+ +0 +OBJECT +GLOBAL +DEFAULT +UND +bar
+#pass