Fix compile time warning message for the AArch64 BFD backend, about a possible attemp...
authorNick Clifton <nickc@redhat.com>
Mon, 25 Jun 2018 11:49:14 +0000 (12:49 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Jun 2018 11:49:14 +0000 (12:49 +0100)
commitbb69498c61638ea88b626f78e911afa74ed22da6
treef9d6c14de6d7b8e4543dcf36fdffa4692f1c7d62
parentc1080aae0f87ad55d1fc6003c76dc093b3c0749d
Fix compile time warning message for the AArch64 BFD backend, about a possible attempt to call sprintf on a NULL buffer pointer.

* elfnn-aarch64.c (_bfd_aarch64_erratum_835769_stub_name): Check
for malloc returning NULL.
(_bfd_aarch64_erratum_843419_fixup): Check for
_bfd_aarch64_erratum_835769_stub_name returning NULL.
bfd/ChangeLog
bfd/elfnn-aarch64.c