projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d64edb
)
gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch (fixes #20501)
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 22 Sep 2015 08:30:15 +0000
(08:30 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 22 Sep 2015 08:30:15 +0000
(08:30 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47024
toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch
patch
|
blob
|
history
diff --git
a/toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch
b/toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch
index 8c0a4cc81fa36878804b321d59bb9dc4fa3cd12c..2783b276f7fad398880a58c03d6d6b47651e1ae4 100644
(file)
--- a/
toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch
+++ b/
toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch
@@
-194,3
+194,16
@@
gcc/Changelog:
+#undef MUSL_DYNAMIC_LINKER_E
+#define MUSL_DYNAMIC_LINKER_E ENDIAN_SELECT("","le","le")
+--- a/gcc/config.gcc
++++ b/gcc/config.gcc
+@@ -2410,6 +2410,10 @@ powerpc*-*-linux*)
+ powerpc*-*-linux*paired*)
+ tm_file="${tm_file} rs6000/750cl.h" ;;
+ esac
++ case ${target} in
++ *-linux*-musl*)
++ enable_secureplt=yes ;;
++ esac
+ if test x${enable_secureplt} = xyes; then
+ tm_file="rs6000/secureplt.h ${tm_file}"
+ fi