[PATCH 3/3] Use DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION to silence GCC 8
H.J. Lu
hjl.tools@gmail.com
Mon Jun 4 16:58:00 GMT 2018
On Fri, Jun 1, 2018 at 12:59 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi H.J.
>
>> PR binutils/23146
>> * bfd-in.h: Include "diagnostics.h".
>> * bfd-in2.h: Regenerated.
>> * elf32-arm.c (elf32_arm_nabi_write_core_note): Use
>> DIAGNOSTIC_PUSH, DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION and
>> DIAGNOSTIC_POP to silence GCC 8 warnings with
>> -Wstringop-truncation.
>> * elf32-ppc.c (ppc_elf_write_core_note): Likewse.
>> * elf32-s390.c (elf_s390_write_core_note): Likewse.
>> * elf64-ppc.c (ppc64_elf_write_core_note): Likewse.
>> * elf64-s390.c (elf_s390_write_core_note): Likewse.
>> * elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewse.
>
> Approved - please apply.
>
This is the patch I am checking in.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-DIAGNOSTIC_IGNORE_STRINGOP_TRUNCATION-to-silence.patch
Type: text/x-patch
Size: 6792 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180604/f9454769/attachment.bin>
More information about the Binutils
mailing list