This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: incongruency in architecture mismatch linker warnings/errors
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Doug Evans <dje at transmeta dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 21 Jan 2003 13:01:09 +1030
- Subject: Re: incongruency in architecture mismatch linker warnings/errors
- References: <200301202009.MAA11112@casey.transmeta.com>
On Mon, Jan 20, 2003 at 12:09:25PM -0800, Doug Evans wrote:
> It's odd that if the architectures (or mach's) are incompatible during
> a relocatable link it's automatically an error whereas in a final link
> it's only a warning and then only if the user asks for it.
>
> Is there any reasoning behind this?
We might be able to use a "foreign" input file in a final link if the
generic linker support for that particular input is good enough.
For relocatable output, we'd need to translate relocs from one format
to another..
--
Alan Modra
IBM OzLabs - Linux Technology Centre