s12z and h8300 no-print-map-discarded fails
authorAlan Modra <amodra@gmail.com>
Fri, 19 Apr 2019 03:03:46 +0000 (12:33 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 19 Apr 2019 03:11:58 +0000 (12:41 +0930)
commitfce9773608d45757dfb26ef7783f37d432ae9a88
treeeb6aad9d2511fcf93ba55288468243aeae8081c3
parente7da54fcdbea8e60c8e577b32b6ed63f8effbfd6
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.
bfd/ChangeLog
bfd/elf32-s12z.c
ld/ChangeLog
ld/testsuite/ld-gc/skip-map-discarded.s
ld/testsuite/lib/ld-lib.exp