Ensure that when attempting to process an ARM Mach-O file with unknown relocs, that...
authorNick Clifton <nickc@redhat.com>
Wed, 26 Jun 2019 16:03:32 +0000 (17:03 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 26 Jun 2019 16:03:32 +0000 (17:03 +0100)
commita68aa5d3020948564ef99d704d27e458ba22ad9d
treee413d62d4438b6a7605e7771c0028d89eba01e97
parent762c164d754fc456aa4764d2ed19cc4a3ec625fb
Ensure that when attempting to process an ARM Mach-O file with unknown relocs, that a suitable error message is displayed.

PR 24703
binutils* bucomm.c (bfd_nonfatal): If no bfd error code has been set then
indicate this in the output.
(bfd_nonfatal_message): Likewise.

bfd * mach-o-arm.c (bfd_mach_o_arm_canonicalize_one_reloc): Add error
messages for failures.
* mach-o.c (bfd_mach_o_canonicalize_relocs): Set an bfd error code
if returning an error value.
bfd/ChangeLog
bfd/mach-o-arm.c
bfd/mach-o.c
binutils/ChangeLog
binutils/bucomm.c