This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Improved elf linker error message
On Tue, May 14, 2002 at 09:54:02AM -0700, Ian Lance Taylor wrote:
> Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
>
> > > Would it be possible to change elf_link_output_relocs() to have a
> > > non-void return type, and check for an error return?
> >
> > Like this?
>
> Looks reasonable to me. Thanks.
BTW, the annoying case where this problem occurs is when someone
builds an archive containing a mix of elf32 and elf64 objects. We
ought to detect this a little earlier and give an informative error
message, or not assume that archive contents are all the same as the
first archive element.
--
Alan Modra
IBM OzLabs - Linux Technology Centre