diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-09-11 12:08:27 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-09-11 12:08:27 +0000 |
commit | 269fbe67f4ca09b1d17ebc0ebf291ba82ee69c08 (patch) | |
tree | 381cf60eb5873b0d0fbc7328a44103c1a72c28e7 /toolchain/gcc/patches/4.6-linaro | |
parent | 944a116aafda469f373ea364299f3ab0508c495b (diff) | |
download | upstream-269fbe67f4ca09b1d17ebc0ebf291ba82ee69c08.tar.gz upstream-269fbe67f4ca09b1d17ebc0ebf291ba82ee69c08.tar.bz2 upstream-269fbe67f4ca09b1d17ebc0ebf291ba82ee69c08.zip |
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 <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37938 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.6-linaro')
-rw-r--r-- | toolchain/gcc/patches/4.6-linaro/200-musl.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.6-linaro/200-musl.patch b/toolchain/gcc/patches/4.6-linaro/200-musl.patch index f861e0b51e..1cc5756dfb 100644 --- a/toolchain/gcc/patches/4.6-linaro/200-musl.patch +++ b/toolchain/gcc/patches/4.6-linaro/200-musl.patch @@ -226,3 +226,15 @@ #undef LINK_SPEC #define LINK_SPEC "\ +--- 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 |