/usr/src/gcc-4.7/debian/patches/mips-fix-loongson2f-nop.diff is in gcc-4.7-source 4.7.3-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # DP: On mips, pass -mfix-loongson2f-nop to as, if -mno-fix-loongson2f-nop
# DP: is not passed.
--- a/src/gcc/config/mips/mips.h
+++ b/src/gcc/config/mips/mips.h
@@ -1142,6 +1142,7 @@
%{mshared} %{mno-shared} \
%{msym32} %{mno-sym32} \
%{mtune=*} \
+%{!mno-fix-loongson2f-nop:-mfix-loongson2f-nop} \
%(subtarget_asm_spec)"
/* Extra switches sometimes passed to the linker. */
|