From 39247ef4b3642f011e3be82c087b393be70602c9 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 5 Apr 2013 12:36:37 +0000 Subject: toolchain/uClibc: backport a MIPS64 fix from openadk Fixes uClibc dynamic loader name requested by executables when targetting MIPS64 n64 Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36208 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../uClibc/patches-0.9.33.2/980-mips64_fixes.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 toolchain/uClibc/patches-0.9.33.2/980-mips64_fixes.patch (limited to 'toolchain/uClibc/patches-0.9.33.2/980-mips64_fixes.patch') diff --git a/toolchain/uClibc/patches-0.9.33.2/980-mips64_fixes.patch b/toolchain/uClibc/patches-0.9.33.2/980-mips64_fixes.patch new file mode 100644 index 0000000000..3f02bb4e08 --- /dev/null +++ b/toolchain/uClibc/patches-0.9.33.2/980-mips64_fixes.patch @@ -0,0 +1,25 @@ +diff -Nur uClibc-0.9.33.2.orig/extra/Configs/Config.in uClibc-0.9.33.2/extra/Configs/Config.in +--- uClibc-0.9.33.2.orig/extra/Configs/Config.in 2012-05-15 09:20:09.000000000 +0200 ++++ uClibc-0.9.33.2/extra/Configs/Config.in 2012-10-01 12:17:14.000000000 +0200 +@@ -235,6 +235,9 @@ + default "i486" if CONFIG_486 + default "i586" if CONFIG_586 || CONFIG_586MMX + default "i686" if TARGET_ARCH = "i386" ++ default "mips" if CONFIG_MIPS_N32_ABI ++ default "mips" if CONFIG_MIPS_O32_ABI ++ default "mips64" if CONFIG_MIPS_N64_ABI + default "" + + source "extra/Configs/Config.in.arch" +diff -Nur uClibc-0.9.33.2.orig/Rules.mak uClibc-0.9.33.2/Rules.mak +--- uClibc-0.9.33.2.orig/Rules.mak 2012-05-15 09:20:09.000000000 +0200 ++++ uClibc-0.9.33.2/Rules.mak 2012-10-01 11:28:26.000000000 +0200 +@@ -118,7 +118,7 @@ + LIBC := libc + SHARED_LIBNAME := $(LIBC).so.$(ABI_VERSION) + UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION) +-ifneq ($(findstring $(TARGET_ARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),) ++ifneq ($(findstring $(TARGET_SUBARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),) + UCLIBC_LDSO_NAME := ld64-uClibc + ARCH_NATIVE_BIT := 64 + else -- cgit v1.2.3