PATCH: Return relocation error on unsupported relocation
H.J. Lu
hjl.tools@gmail.com
Sat Apr 9 15:48:00 GMT 2011
On Sat, Apr 9, 2011 at 8:38 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> I checked in this patch to return relocation error on unsupported
> relocation instead of crash.
>
>
> const char *name;
> @@ -3896,7 +3901,7 @@ do_relocation:
> else
> {
> (*_bfd_error_handler)
> - (_("%B(%A+0x%lx): reloc against `%s': error %d"),
> + (_("%B(%A+0x%lx): reloc against `%s': error %r"),
> input_bfd, input_section,
> (long) rel->r_offset, name, (int) r);
> return FALSE;
>
I reverted this accidental checkin.
--
H.J.
More information about the Binutils
mailing list