PATCH: Fix mixing MIPS object files.

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Thu Nov 7 11:20:00 GMT 2002


Daniel Jacobowitz wrote:
[snip]
> > > Well, I noticed earlier today that at least "mipsel-linux-gcc -mips3"
> > > will refuse to use 64-bit registers unless you give it -mgp64. 
> > > MASK_64BIT doesn't get set.  So that one is clear, and I believe so is
> > > gcc -march=xxx.
> > 
> > Is that also true for gcc < 3.0?
> 
> I believe so, but I don't have tools to test with.

I don't think so, IIRC the -march/-mtune switches were implemented
in 3.1 and then backported to 3.0. Earlier gcc versions (ab-)use
-mipsX to restrict ISAs > III to 32-bit registers.


Thiemo



More information about the Binutils mailing list