Add ATTRIBUTE_NONSTRING to ppc64_elf_write_core_note
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 23 May 2018 17:15:11 +0000 (10:15 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 23 May 2018 17:15:11 +0000 (10:15 -0700)
commit9ef6d1e31f380349c8f329d1adb47ee53ec1f6c2
tree5674f2dd2280a40d60b8c40dcae68f1010a438e9
parenta8be540e8ae8d16da5854c75d4724f3875aeba2e
Add ATTRIBUTE_NONSTRING to ppc64_elf_write_core_note

This patch silences gcc8 -Wstringop-truncation warnings.

* elf64-ppc.c (ppc64_elf_write_core_note): Add ATTRIBUTE_NONSTRING
to data.
bfd/ChangeLog
bfd/elf64-ppc.c