mirror of
https://github.com/pmmp/musl-cross-make.git
synced 2025-02-11 21:20:48 +00:00
patch set consists of: 0001 full musl libc target support 0002 fixes for wrong optimizations of weak defs/aliases 0003 various sh breakage in configure scripts 0005 static pie support 0006 --enable-default-pie support 0008 fix for cross compiling bug in build system 0009 fix for wrong default div strategy for sh2 (missing libgcc code) 0010 fix failure to build on modern host gcc due to gnu-inline 0011 fix sh & alpha bootstrap failures before libc is built 0012 fix broken local-exec TLS with -fPIE on sh
16 lines
638 B
Diff
16 lines
638 B
Diff
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
|
|
index fc4e1f2..1a4cf00 100644
|
|
--- a/gcc/config/sh/sh.h
|
|
+++ b/gcc/config/sh/sh.h
|
|
@@ -649,10 +649,6 @@ do { \
|
|
/* ??? Should we use the integer SHmedia function instead? */ \
|
|
else if (TARGET_SHCOMPACT && TARGET_FPU_ANY) \
|
|
sh_div_strategy = SH_DIV_CALL_FP; \
|
|
- /* SH1 .. SH3 cores often go into small-footprint systems, so \
|
|
- default to the smallest implementation available. */ \
|
|
- else if (TARGET_SH2) /* ??? EXPERIMENTAL */ \
|
|
- sh_div_strategy = SH_DIV_CALL_TABLE; \
|
|
else \
|
|
sh_div_strategy = SH_DIV_CALL_DIV1; \
|
|
} \
|