Commit 1a4ba061 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: Use -mno-check-zero-division

I don't think that in 15 years of Linux/MIPS the zero division checking
code generated by gcc by default has ever caught anything.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 05e41404
...@@ -49,6 +49,7 @@ ifneq ($(SUBARCH),$(ARCH)) ...@@ -49,6 +49,7 @@ ifneq ($(SUBARCH),$(ARCH))
endif endif
cflags-y := -ffunction-sections cflags-y := -ffunction-sections
cflags-y += $(call cc-option, -mno-check-zero-division)
ifdef CONFIG_32BIT ifdef CONFIG_32BIT
ld-emul = $(32bit-emul) ld-emul = $(32bit-emul)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment