aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-04-19 12:33:46 +0930
committerAlan Modra <amodra@gmail.com>2019-04-19 12:41:58 +0930
commitfce9773608d45757dfb26ef7783f37d432ae9a88 (patch)
treeeb6aad9d2511fcf93ba55288468243aeae8081c3 /ld/testsuite/lib/ld-lib.exp
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-fce9773608d45757dfb26ef7783f37d432ae9a88.tar.gz
binutils-gdb-fce9773608d45757dfb26ef7783f37d432ae9a88.tar.bz2
binutils-gdb-fce9773608d45757dfb26ef7783f37d432ae9a88.zip
s12z and h8300 no-print-map-discarded fails
This tidies the remaining --no-print-map-discarded fails. h8300-elf warns on a section without flags, and s12z doesn't support --gc-sections. bfd/ * elf32-s12z.c (elf_backend_can_gc_sections): Don't define ld/ * testsuite/ld-gc/skip-map-discarded.s: Add section attributes. * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add s12z to list of targets not supporting --gc-sections.
Diffstat (limited to 'ld/testsuite/lib/ld-lib.exp')
-rw-r--r--ld/testsuite/lib/ld-lib.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index dae6673758d..dc55dc80343 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1043,6 +1043,7 @@ proc check_gc_sections_available { } {
|| [istarget mn10200-*-*]
|| [istarget pj*-*-*]
|| [istarget pru*-*-*]
+ || [istarget s12z-*-*]
|| [istarget xgate-*-*] } {
set gc_sections_available_saved 0
return 0