Suppress string diagnostics for pre-release GCC
authorAlan Modra <amodra@gmail.com>
Wed, 25 Jul 2018 02:10:48 +0000 (11:40 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 25 Jul 2018 02:20:51 +0000 (11:50 +0930)
commitbe3e27bb5554e45d54d7cdc74353dda246239475
treee68311da6851d5749f1e982553a87c30215ebc9d
parent5fbad1b90943710ff622e119d1ac6211fda500d0
Suppress string diagnostics for pre-release GCC

Extends commit 898ade12ee8 to cover other targets.

* elf32-arm.c (elf32_arm_nabi_write_core_note): Disable
-Wstringop-truncation warning for gcc-8.0 too.
* elf32-ppc.c (ppc_elf_write_core_note): Likewise.
* elf64-ppc.c (ppc64_elf_write_core_note): Likewise.
* elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise.
* elf32-s390.c (elf_s390_write_core_note): Comment fix.
* elf64-s390.c (elf_s390_write_core_note): Likewise.
bfd/ChangeLog
bfd/elf32-arm.c
bfd/elf32-ppc.c
bfd/elf32-s390.c
bfd/elf64-ppc.c
bfd/elf64-s390.c
bfd/elfxx-aarch64.c