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: [PATCH] MIPS gas/ld test suite portability fixes


> 
> 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. 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.

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 :) As a note, we should probably document what "from-abi" is
giving people.

-eric


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