This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Not linking 32-bit and 64-bit objects
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 12 Mar 2002 22:15:56 +1030
- Subject: Re: Not linking 32-bit and 64-bit objects
- References: <holmcyt59w.fsf@gee.suse.de>
On Tue, Mar 12, 2002 at 12:05:47PM +0100, Andreas Jaeger wrote:
>
> If I try to link a 32-bit i386 object as 64-bit x86-64 object, it
> should fail but I'd like to see a better error message.
I think you're probably better off writing a replacement for
bfd_default_compatible in bfd/cpu-i386.c
--
Alan Modra
IBM OzLabs - Linux Technology Centre