aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21562a.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr21562a.d')
-rw-r--r--ld/testsuite/ld-elf/pr21562a.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21562a.d b/ld/testsuite/ld-elf/pr21562a.d
new file mode 100644
index 0000000..009dcfc
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr21562a.d
@@ -0,0 +1,9 @@
+#ld: -shared -z defs --gc-sections
+#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