mirror of
https://github.com/pmmp/musl-cross-make.git
synced 2024-11-24 10:46:11 +00:00
06a1f34243
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
11 lines
396 B
Diff
11 lines
396 B
Diff
--- gcc-4.2.1/gcc/config/sh/sh.c.orig 2015-11-06 04:41:52.683021006 +0000
|
|
+++ gcc-4.2.1/gcc/config/sh/sh.c 2015-11-06 04:42:00.643020520 +0000
|
|
@@ -8343,6 +8343,7 @@ nonpic_symbol_mentioned_p (rtx x)
|
|
|| XINT (x, 1) == UNSPEC_GOTPLT
|
|
|| XINT (x, 1) == UNSPEC_GOTTPOFF
|
|
|| XINT (x, 1) == UNSPEC_DTPOFF
|
|
+ || XINT (x, 1) == UNSPEC_TPOFF
|
|
|| XINT (x, 1) == UNSPEC_PLT))
|
|
return 0;
|
|
|