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: Not linking 32-bit and 64-bit objects


On Wed, Mar 13, 2002 at 01:25:19PM +1030, Alan Modra wrote:
> This should stop the linker trying to do silly things with incompatible
> relocs.
>
> 
> bfd/ChangeLog
> 	* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
> 	when word size of input matches output word size.
> 
> ld/ChangeLog
> 	* ldlang.c (lang_check): Do relocatable link checks first, so that
> 	warn_mismatch can't override.  Check compatible and word size too.
 
I would love to see this committed to the 2.12 branch.  The lack of of a
good error message delayed getting BU 2.12 working on FreeBSD/sparc64 by
2 weeks due to a trivial human error.


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