Silence gcc-8 warnings
authorAlan Modra <amodra@gmail.com>
Wed, 25 Apr 2018 03:57:22 +0000 (13:27 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 25 Apr 2018 07:55:57 +0000 (17:25 +0930)
commitd99b4b92c8ed0f7ef98f370bbf65a360ed66ad7b
tree026e6a0c99205cb06226706bf85feaea264290b6
parent651d16203867f8013a0f78a2f2e24df8c02d1377
Silence gcc-8 warnings

This seems to work with gcc-8 and a bunch of prior gcc versions I tested.

* elf-linux-core.h: Disable gcc-8 string truncation warning.
* elf.c (elfcore_write_prpsinfo): Likewise.
bfd/ChangeLog
bfd/elf-linux-core.h
bfd/elf.c