This is the mail archive of the
mailing list for the binutils project.
Re: ld won't complain if asked to link obj files of different arches
Nick Clifton writes:
> How can an x86 object file and an mn10300 object file work in the same
> executable ?
Depending on which host the "real" program is run on, the other
architecture's object file may be treated as data.
It may even be data. Imagine machine generating a bunch of data
and imagine the data being used in multiple programs, some
which run on one architecture and some which run on the other.
Sorry I'm coming into this late. Catching up on old mail.