--- arch/mips/Makefile.orig 2003-08-03 18:24:17.000000000 -0400 +++ arch/mips/Makefile 2003-08-03 18:25:59.000000000 -0400 @@ -69,7 +69,7 @@ ifdef CONFIG_CPU_VR41XX GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap endif ifdef CONFIG_CPU_R4X00 -GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap +GCCFLAGS += -mips3 -mabi=32 -Wa,--trap endif ifdef CONFIG_CPU_TX49XX GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap @@ -81,14 +81,14 @@ ifdef CONFIG_CPU_MIPS64 GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap endif ifdef CONFIG_CPU_R5000 -GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap +GCCFLAGS += -mips4 -mabi=32 -Wa,--trap endif ifdef CONFIG_CPU_R5432 GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap endif ifdef CONFIG_CPU_NEVADA # Cannot use -mmad with currently recommended tools -GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap +GCCFLAGS += -mips4 -mabi=32 -Wa,--trap endif ifdef CONFIG_CPU_RM7000 GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap