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


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


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