[PATCH] Improved elf linker error message
Tom Rix
trix@redhat.com
Tue May 14 07:22:00 GMT 2002
Thiemo Seufer wrote:
> Hi All,
>
> this improves the error message when someone tries to link together
> object files with different relocation sizes.
>
>
> + else
> + {
> + (*_bfd_error_handler) (
> + _("%s: relocation size mismatch in %s section %s"),
> + bfd_get_filename (output_bfd),
> + bfd_get_filename (input_section->owner),
> + input_section->name);
> + abort();
> + }
>
> BFD_ASSERT (output_rel_hdr != NULL);
>
The BFD_ASSERT is now unreachable and should be removed.
Tom
--
Tom Rix
GCC Engineer
trix@redhat.com
More information about the Binutils
mailing list