aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21562c.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr21562c.d')
-rw-r--r--ld/testsuite/ld-elf/pr21562c.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21562c.d b/ld/testsuite/ld-elf/pr21562c.d
new file mode 100644
index 0000000000..9de035faac
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr21562c.d
@@ -0,0 +1,10 @@
+#source: pr21562a.s
+#ld: -shared -z defs --gc-sections -T pr21562a.t
+#readelf: -s -S --wide
+#target: *-*-linux* *-*-gnu*
+
+#...
+ \[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*
+#...
+ +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +NOTYPE +LOCAL +DEFAULT +[0-9]+ +__start_scnfoo
+#pass