linux-mips
[Top] [All Lists]

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

To: macro@ds2.pg.gda.pl
Subject: Re: [patch] 2.4: Support for newer gcc/gas options
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 05 Jan 2004 10:04:29 +0900 (JST)
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.55.0312161822240.8262@jurand.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.LNX.4.55.0312161822240.8262@jurand.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Tue, 16 Dec 2003 22:33:41 +0100 (CET), "Maciej W. Rozycki" 
>>>>> <macro@ds2.pg.gda.pl> said:
macro>  ifdef CONFIG_CPU_TX39XX
macro> -GCCFLAGS        += -mcpu=r3000 -mips1
macro> +GCCFLAGS        += $(call set_gccflags,r3000,mips1,r3000,mips1,mips1)
macro>  endif

Recent tools have -march=r3900 option.  Now we can use this without
hitting old tool users.  Please apply this patch.  Thank you.

diff -u linux-mips/arch/mips/Makefile linux/arch/mips/Makefile 
--- linux-mips/arch/mips/Makefile       Mon Jan  5 08:37:51 2004
+++ linux/arch/mips/Makefile    Mon Jan  5 09:50:06 2004
@@ -107,7 +107,7 @@
 GCCFLAGS       += $(call set_gccflags,r3000,mips1,r3000,mips1,mips1)
 endif
 ifdef CONFIG_CPU_TX39XX
-GCCFLAGS       += $(call set_gccflags,r3000,mips1,r3000,mips1,mips1)
+GCCFLAGS       += $(call set_gccflags,r3900,mips1,r3000,mips1,mips1)
 endif
 ifdef CONFIG_CPU_R6000
 GCCFLAGS       += $(call set_gccflags,r6000,mips2,r6000,mips2,mips2) \

---
Atsushi Nemoto

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