linux-mips
[Top] [All Lists]

Re: [patch] 2.4: Support for newer gcc/gas options

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [patch] 2.4: Support for newer gcc/gas options
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Tue, 23 Dec 2003 23:01:40 +0100
Cc: macro@ds2.pg.gda.pl, ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <20031223204405.GL12050@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.55.0312161822240.8262@jurand.ds.pg.gda.pl> <20031223.220213.74756743.anemo@mba.ocn.ne.jp> <20031223204405.GL12050@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.4i
Thiemo Seufer wrote:
> Atsushi Nemoto wrote:
> [snip]
> > >>>>> On Tue, 16 Dec 2003 22:33:41 +0100 (CET), "Maciej W. Rozycki" 
> > >>>>> <macro@ds2.pg.gda.pl> said:
> > macro>  The patch implements a make macro called set_gccflags which
> > macro> accepts two sets of options consisting of a CPU name and an ISA
> > macro> name each.  Within both sets "-march=" and failing that
> > macro> "-mcpu=" is checked with the CPU name and the ISA name is
> > macro> checked simultaneously.  For gcc if the first set of options
> > macro> fails, the second one is selected even if it would lead to a
> > macro> failure.  For gas both sets are checked and if none succeeds,
> > macro> an empty set is selected.
> > 
> > With this patch, most r4k use MIPS3 ISA, right?
> 
> Since -mips2 is retained they actually use -march=r6000 and still
> MIPS2 ISA.

Well, I should actually read the code instead of speculating. :-)
Now it is -mips3, which means -march=r4000. All _MIPS_ISA defines
abused to check for the O32 ABI are broken now.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>