aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21562f.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/pr21562f.d')
-rw-r--r--ld/testsuite/ld-elf/pr21562f.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21562f.d b/ld/testsuite/ld-elf/pr21562f.d
new file mode 100644
index 0000000000..b9c324a47d
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr21562f.d
@@ -0,0 +1,10 @@
+#source: pr21562b.s
+#ld: -shared -z defs
+#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]+ +__stop_scnfoo
+#pass