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.
+2019-04-19 Alan Modra <amodra@gmail.com>
+
+ * elf32-s12z.c (elf_backend_can_gc_sections): Don't define
+
2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
* elf64-x86-64.c (elf_x86_64_need_pic): Suggest -fPIE when not
#define elf_info_to_howto_rel s12z_info_to_howto_rel
#define elf_backend_object_p s12z_elf_set_mach_from_flags
#define elf_backend_final_write_processing NULL
-#define elf_backend_can_gc_sections 1
#include "elf32-target.h"
+2019-04-19 Alan Modra <amodra@gmail.com>
+
+ * 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.
+
2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
-.globl __start
+ .globl __start
__start:
- .section _foo
+
+ .section _foo,"ax",%progbits
foo:
.long 1
|| [istarget mn10200-*-*]
|| [istarget pj*-*-*]
|| [istarget pru*-*-*]
+ || [istarget s12z-*-*]
|| [istarget xgate-*-*] } {
set gc_sections_available_saved 0
return 0