aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/10.2.0/900-bad-mips16-crt.patch
blob: dd6e9dc889ad0714507851b4f99d9c6883cf007c (plain)
1
2
3
4
5
6
7
8
9
--- a/libgcc/config/mips/t-mips16
+++ b/libgcc/config/mips/t-mips16
@@ -43,3 +43,6 @@ SYNC_CFLAGS = -mno-mips16
 
 # Version these symbols if building libgcc.so.
 SHLIB_MAPFILES += $(srcdir)/config/mips/libgcc-mips16.ver
+
+CRTSTUFF_T_CFLAGS += -mno-mips16
+CRTSTUFF_T_CFLAGS_S += -mno-mips16