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: Fix mixing MIPS object files.


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


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