--- arch/mips/Makefile.orig 2003-08-13 20:45:28.000000000 -0400 +++ arch/mips/Makefile 2003-08-13 20:46:30.000000000 -0400 @@ -72,7 +72,7 @@ ifdef CONFIG_CPU_VR41XX GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap endif ifdef CONFIG_CPU_R4X00 -GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap +GCCFLAGS += -mips3 -Wa,--trap endif ifdef CONFIG_CPU_TX49XX GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap @@ -84,14 +84,14 @@ ifdef CONFIG_CPU_MIPS64 GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap endif ifdef CONFIG_CPU_R5000 -GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap +GCCFLAGS += -mips4 -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 -Wa,--trap endif ifdef CONFIG_CPU_RM7000 GCCFLAGS += $(call check_gcc, -march=rm7000, -mcpu=r5000) \