PR binutils/22875: MIPS: Remove duplicate unsupported relocation processing
authorMaciej W. Rozycki <macro@mips.com>
Thu, 29 Mar 2018 13:09:48 +0000 (14:09 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Thu, 29 Mar 2018 13:10:37 +0000 (14:10 +0100)
commit75def2abc3dafb52418405905cd49e9c107c2640
tree5e19cf17a6aceac91185f681997cf16eb338d878
parent515d75a48606ba4537b69747774c5a93da4d6ebc
PR binutils/22875: MIPS: Remove duplicate unsupported relocation processing

Remove a duplicate `unsupported relocation type' message and the setting
of the `bfd_error_bad_value' error from `mips_elf32_rtype_to_howto',
added with commit f3185997ac09 ("PR 22875: Stop strip corrupting unknown
relocs"), <https://sourceware.org/ml/binutils/2018-02/msg00445.html>.
This message is already produced and the `bfd_error_bad_value' error set
by `mips_elf32_rtype_to_howto' before a NULL howto is returned, so there
is no need to repeat these actions here.

bfd/
* elf32-mips.c (mips_info_to_howto_rel): Remove the calls to
`_bfd_error_handler' and to set the `bfd_error_bad_value' error.
bfd/ChangeLog
bfd/elf32-mips.c
This page took 0.090142 seconds and 4 git commands to generate.