Skip to content

Commit e7a3087

Browse files
FlyGoattsbogend
authored andcommitted
MIPS: BMIPS: Drop unnecessary assembler flag
Nowadays GCC will always pass -march flag to gas, so there is no need to pass another mips32 flag to assembler. Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent bfc0a33 commit e7a3087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/mips/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,15 +170,15 @@ cflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=mips4) \
170170
-Wa,--trap
171171
cflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=mips4) \
172172
-Wa,--trap
173-
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=mips64) \
173+
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=mips64r1) \
174174
-Wa,--trap
175175
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mdmx)
176176
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mips3d)
177177
cflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=mips4) \
178178
-Wa,--trap
179179
cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -march=octeon -Wa,--trap
180180
cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1
181-
cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,-mips32 -Wa,--trap
181+
cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,--trap
182182

183183
cflags-$(CONFIG_CPU_LOONGSON2E) += \
184184
$(call cc-option,-march=loongson2e,-march=mips3) -Wa,--trap

0 commit comments

Comments
 (0)