[PATCH] MIPS gas/ld test suite portability fixes

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Wed Feb 23 08:34:00 GMT 2005


Eric Christopher wrote:
> 
> > 
> > It is not a guess in this case, and gcc uses the from-abi hack to
> > figure it out correctly. Without it, e.g.
> > 
> > 	gcc -mabi=64
> > 
> > would behave differently depending on its configuration. That's surely
> > counterintuitive and adds e.g. more breakage potential to Makefile
> > portability.
> 
> As long as the arch is passed along as 'from-abi' I'm ok with changing
> it.

from-abi is always mips3 for NewABI.

> The problem with allowing people to just put -mabi=64 on a, say,
> mips-linux-gnu compiler is that they may expect it's giving them, say,
> mips4 code (I've heard it) and not mips3 code as you'd want to make it.

Mips4 is the default for the native IRIX ABI64 toolchain, gcc on IRIX
defaults to mips3 for ABI64, like Linux does. That's probably the
source of confusion here.

> Having it error and make people be specific is the best bet I think, or
> "from-abi" - at least that way they know that they're getting what we
> choose :)

They already specified it with -mabi, as mips3 is the minimum required
for NewABI.


Thiemo



More information about the Binutils mailing list