445604a915
-fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.4. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
9 lines
293 B
Diff
9 lines
293 B
Diff
--- 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
|