This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld won't complain if asked to link obj files of different arches
On Thu, Dec 19, 2002 at 11:31:14AM +0000, Nick Clifton wrote:
> % ld foo.o -b binary unknown_arch.o
>
> it will produce a warning message, but the link works:
>
> ld: warning: unknown architecture of input file `unknown_arch.o' is incompatible with i386 output
It would be nice if this worked without a warning. What is the
"architecture" of a binary input file anyway?
--
Alan Modra
IBM OzLabs - Linux Technology Centre