This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: check mips abi x linker emulation compatibility
At Thu, 8 May 2003 16:58:29 +0000 (UTC), "Alexandre Oliva" wrote:
> How about this instead: add -mabi=neutral or -mabi=from-arch or
> something like that, and use this flag on mips targets that have a
> non-neutral default?
There _isn't_ really a "neutral" ABI, though, is there?
Each set of tools is generating to *some* ABI, and the tests are
similarly testing *some* ABI.
no-abi is just one of the commonly-expected ones (o32 or o64,
usually), but not marked, right? It's really there, IMO, for
historical purposes, from the days when binaries weren't marked.
if it's truly a different ABI... well, that's probably a bug and it
should have its ABI named and marked.
"-mabi=from-arch" doesn't make any sense whatsoever. Well, OK, i
imagine it could be used to select between o32/o64 or 32-bit/64-bit
eabi, based on the architecture that's been selected, for tools that
default to either 'o'-abi, or 'eabi'... But that's not what you would
want to use it for, AFAICT.
It sounds like what you're asking for is a "no-abi-marking" flag. I
can see how you'd like that, but IMO it's really not the right thing.
8-)
cgd