Not linking 32-bit and 64-bit objects
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Tue Mar 12 10:22:00 GMT 2002
Daniel Jacobowitz wrote:
[snip]
> Is there any architecture where linking together objects with a
> different bits_per_word is really legal?
Some DSP's possibly allow this.
> If not, adding it to
> bfd_default_compatible seems like the logical step. For instance, I
> don't think MIPS-ELF32 and MIPS-ELF64 could really be linked together.
FWIW, I can't see how this should work. BTW, the MIPS linker already
complains when checking the ELF header flags.
Thiemo
More information about the Binutils
mailing list