Author: nbd Date: 2015-09-22 10:30:15 +0200 (Tue, 22 Sep 2015) New Revision: 47024
Modified: trunk/toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch Log: gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch (fixes #20501) Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch =================================================================== --- trunk/toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch 2015-09-22 08:30:05 UTC (rev 47023) +++ trunk/toolchain/gcc/patches/5.2.0/203-musl_powerpc.patch 2015-09-22 08:30:15 UTC (rev 47024) @@ -194,3 +194,16 @@ +#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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
