1
# DP: On mips, pass -mfix-loongson2f-nop to as, if -mno-fix-loongson2f-nop
4
Index: b/src/gcc/config/mips/mips.h
5
===================================================================
6
--- a/src/gcc/config/mips/mips.h
7
+++ b/src/gcc/config/mips/mips.h
8
@@ -1343,6 +1343,7 @@ struct mips_cpu_info {
9
%{msym32} %{mno-sym32} \
12
+%{!mno-fix-loongson2f-nop:-mfix-loongson2f-nop} \
13
%(subtarget_asm_spec)"
15
/* Extra switches sometimes passed to the linker. */