This is the mail archive of the binutils@sources.redhat.com 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] Improved elf linker error message


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




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