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: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2009-04-28 19:28:33 +02:00
Родитель 05e4140447
Коммит 1a4ba061b3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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)