1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
--- arch/mips/Makefile.orig 2003-11-28 17:51:18.785694032 -0500
+++ arch/mips/Makefile 2003-11-28 17:51:50.458878976 -0500
@@ -73,7 +73,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
@@ -85,14 +85,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) \
--- arch/mips64/Makefile.orig 2003-11-28 17:52:19.503463528 -0500
+++ arch/mips64/Makefile 2003-11-28 17:53:09.394878880 -0500
@@ -56,14 +56,14 @@ ifdef CONFIG_CPU_R4300
GCCFLAGS += -mcpu=r4300 -mips3
endif
ifdef CONFIG_CPU_R4X00
-GCCFLAGS += -mcpu=r4600 -mips3
+GCCFLAGS += -mips3
endif
ifdef CONFIG_CPU_R5000
-GCCFLAGS += -mcpu=r8000 -mips4
+GCCFLAGS += -mips4
endif
ifdef CONFIG_CPU_NEVADA
# Cannot use -mmad with currently recommended tools
-GCCFLAGS += -mcpu=r8000 -mips3
+GCCFLAGS += -mips4
endif
ifdef CONFIG_CPU_RM7000
GCCFLAGS += $(call check_gcc, -march=rm7000, -mcpu=r5000) \
@@ -299,7 +299,7 @@ endif
# convert to ECOFF using elf2ecoff.
#
ifdef CONFIG_BOOT_ELF32
-GCCFLAGS += -Wa,-32 $(shell if $(CC) -Wa,-mgp64 -c -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "-Wa,-mgp64"; fi)
+GCCFLAGS += -Wa,-mabi=o64 $(shell if $(CC) -Wa,-mgp64 -c -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "-Wa,-mgp64"; fi)
LINKFLAGS += -T arch/mips64/ld.script.elf32
endif
#
|