This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Return relocation error on unsupported relocation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]