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: incongruency in architecture mismatch linker warnings/errors


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


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