aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/pr21562h.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-14 04:36:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-14 06:07:20 -0700
commit8eca1095d96c215409371c5687573aac89a0a980 (patch)
treea0ddd3d54e349093ed9b24c11c7823283269e902 /ld/testsuite/ld-elf/pr21562h.d
parentf78d1b3ae1cee2bc1a2be4b3c30df9627e13fdc1 (diff)
downloadgdb-8eca1095d96c215409371c5687573aac89a0a980.zip
gdb-8eca1095d96c215409371c5687573aac89a0a980.tar.gz
gdb-8eca1095d96c215409371c5687573aac89a0a980.tar.bz2
Skip PR ld/21562 tests on targets with leading char or without --gc-sections
Symbol lookup in linker will always fail on targets with leading char in symbol name since __start_SECNAME and __stop_SECNAME in C may be ___start_SECNAME and ___stop_SECNAME in assembly. Also tests with --gc-sections always fails on targets without --gc-sections support. * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char in in symbol name or without --gc-sections. * testsuite/ld-elf/pr21562b.d: Likewise. * testsuite/ld-elf/pr21562c.d: Likewise. * testsuite/ld-elf/pr21562d.d: Likewise. * testsuite/ld-elf/pr21562i.d: Likewise. * testsuite/ld-elf/pr21562j.d: Likewise. * testsuite/ld-elf/pr21562k.d: Likewise. * testsuite/ld-elf/pr21562l.d: Likewise. * testsuite/ld-elf/pr21562m.d: Likewise. * testsuite/ld-elf/pr21562n.d: Likewise. * testsuite/ld-elf/pr21562e.d: Skip on targets with leading char in symbol name. * testsuite/ld-elf/pr21562f.d: Likewise. * testsuite/ld-elf/pr21562g.d: Likewise. * testsuite/ld-elf/pr21562h.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/pr21562h.d')
-rw-r--r--ld/testsuite/ld-elf/pr21562h.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/pr21562h.d b/ld/testsuite/ld-elf/pr21562h.d
index 6adabd7..dc4b72a 100644
--- a/ld/testsuite/ld-elf/pr21562h.d
+++ b/ld/testsuite/ld-elf/pr21562h.d
@@ -2,6 +2,10 @@
#ld: -shared -z defs -T pr21562a.t
#readelf: -s -S --wide
#target: *-*-linux* *-*-gnu*
+#notarget: bfin-*-* cr16-*-* cr16c-*-* cris*-*-* crx-*-* epiphany-*-*
+#notarget: h8300-*-* ip2k-*-* m10200-*-* m10300-*-* m32c-*-* metag-*-*
+#notarget: metag-*-* rl78-*-* rx-*-* sh*-*-* v850*-*-*
+# Targets with a leading char will faill this test.
#...
\[[ 0-9]+\] scnfoo[ \t]+PROGBITS[ \t]+[0-9a-f]+ +[0-9a-f]+ +0*10[ \t]+.*