From 118e6cf2676691f81deaa1ff07d23bba34ac6080 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 11 Sep 2013 12:08:27 +0000 Subject: toolchain: define MUSL dynamic linker for SPARC SPARC builds are currently broken because we do not define the MUSL dynamic linker name, fix that. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37938 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/patches/4.8-linaro/200-musl.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'toolchain/gcc/patches/4.8-linaro/200-musl.patch') diff --git a/toolchain/gcc/patches/4.8-linaro/200-musl.patch b/toolchain/gcc/patches/4.8-linaro/200-musl.patch index 8cf45eb61a..951464d2de 100644 --- a/toolchain/gcc/patches/4.8-linaro/200-musl.patch +++ b/toolchain/gcc/patches/4.8-linaro/200-musl.patch @@ -306,3 +306,16 @@ CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \ - BIONIC_DYNAMIC_LINKERN32) + BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32) +--- a/gcc/config/sparc/linux64.h 2013-09-10 10:02:45.663973856 +0100 ++++ b/gcc/config/sparc/linux64.h 2013-09-10 10:03:17.871972435 +0100 +@@ -104,6 +104,9 @@ + #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2" + #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2" + ++#define MUSL_DYNAMIC_LINKER32 "/lib/ld-musl-sparc.so.1" ++#define MUSL_DYNAMIC_LINKER64 "/lib/ld-musl-sparc.so.1" ++ + #ifdef SPARC_BI_ARCH + + #undef SUBTARGET_EXTRA_SPECS + -- cgit v1.2.3