This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Improved elf linker error message
- From: Tom Rix <trix at redhat dot com>
- To: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 14 May 2002 10:18:41 -0500
- Subject: Re: [PATCH] Improved elf linker error message
- References: <20020514133936.GT910@rembrandt.csv.ica.uni-stuttgart.de>
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