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