aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-gc/pr19161.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-gc/pr19161.d')
-rw-r--r--ld/testsuite/ld-gc/pr19161.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/pr19161.d b/ld/testsuite/ld-gc/pr19161.d
new file mode 100644
index 0000000..64b17e0
--- /dev/null
+++ b/ld/testsuite/ld-gc/pr19161.d
@@ -0,0 +1,9 @@
+#name: --gc-sections with __start_SECTIONNAME
+#source: dummy.s
+#ld: --gc-sections -e main tmpdir/pr19161-1.o tmpdir/pr19161-2.o
+#nm: --format=bsd
+#xfail: sh64*-*-* iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-* powerpc*-*-eabivle msp430-*-*
+
+#...
+0*[1-9a-f]+[0-9a-f]*[ ](D)[ ]_*__start_my_section
+#...