This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix mixing MIPS object files.
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: "H. J. Lu" <hjl at lucon dot org>, Richard Sandiford <rsandifo at redhat dot com>, binutils at sources dot redhat dot com
- Date: Thu, 7 Nov 2002 20:06:25 +0100 (MET)
- Subject: Re: PATCH: Fix mixing MIPS object files.
- Organization: Technical University of Gdansk
On Thu, 7 Nov 2002, Daniel Jacobowitz wrote:
> > > 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.
Well, I don't think there exists a reference gcc < 3.0 for MIPS/Linux, so
the behaviour depends on the set of patches used. The version I use
(2.95.4) has "-mgp64" forced in its specs for "-mips3" and above, so it
doesn't work as expected. It can be fixed, but I don't care at this
stage.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +