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