diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-22 08:30:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-22 08:30:15 +0000 |
commit | 74de80cf4f8341fd34ef64a9e1351b74de0b7a5a (patch) | |
tree | 0602dd5b2b3d95107b8477a34277c51dbe4f00a3 /toolchain/gcc | |
parent | 672a3b02a8f68a5b8d3f8f289beda8a932ce0dfc (diff) | |
download | master-187ad058-74de80cf4f8341fd34ef64a9e1351b74de0b7a5a.tar.gz master-187ad058-74de80cf4f8341fd34ef64a9e1351b74de0b7a5a.tar.bz2 master-187ad058-74de80cf4f8341fd34ef64a9e1351b74de0b7a5a.zip |
gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch (fixes #20501)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47024 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r-- | toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 8c0a4cc81f..2783b276f7 100644 --- 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 |