S/390: Suppress string diagnostics for pre-release GCC
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 23 Jul 2018 08:29:37 +0000 (10:29 +0200)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Mon, 23 Jul 2018 08:33:29 +0000 (10:33 +0200)
commit898ade12ee835c3a55460ae4fe311f40a01cf586
tree050cc053af83ef668cf16bf35bc52611ed8f98f1
parent49ddb0fbdad2bdf5ff4fcbcf50470f16c0f1f34a
S/390: Suppress string diagnostics for pre-release GCC

Building for S/390 currently fails when using a GCC 8.1 pre-release
version like 8.0.1 (as it is used by F28).  Fixed with the attached patch.

bfd/ChangeLog:

2018-07-23  Andreas Krebbel  <krebbel@linux.ibm.com>

* elf32-s390.c (elf_s390_write_core_note): Make GCC version 8.0 to
be covered by the check as well.
* elf64-s390.c (elf_s390_write_core_note): Likewise.
bfd/elf32-s390.c
bfd/elf64-s390.c