~angelsl/ubuntu/wily/gcc-5/mips-cross

« back to all changes in this revision

Viewing changes to debian/patches/mips-fix-loongson2f-nop.diff

  • Committer: angelsl
  • Date: 2015-10-30 03:30:35 UTC
  • Revision ID: angelsl-20151030033035-rmug41zm8hyjgisg
Original import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: On mips, pass -mfix-loongson2f-nop to as, if -mno-fix-loongson2f-nop
 
2
# DP: is not passed.
 
3
 
 
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} \
 
10
 %{mtune=*}" \
 
11
 FP_ASM_SPEC "\
 
12
+%{!mno-fix-loongson2f-nop:-mfix-loongson2f-nop} \
 
13
 %(subtarget_asm_spec)"
 
14
 
 
15
 /* Extra switches sometimes passed to the linker.  */