diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-05 23:37:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-05 23:37:12 +0000 |
commit | f16484ddaf7874a9788ee5ca7ded60b116b4b6ab (patch) | |
tree | 321b99c933fa1d6d9db576e1468b0b03c5189450 | |
parent | 103893f67eea7e8366daebdb55ca05dab7ffd273 (diff) | |
download | upstream-f16484ddaf7874a9788ee5ca7ded60b116b4b6ab.tar.gz upstream-f16484ddaf7874a9788ee5ca7ded60b116b4b6ab.tar.bz2 upstream-f16484ddaf7874a9788ee5ca7ded60b116b4b6ab.zip |
gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36864 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch | 11 | ||||
-rw-r--r-- | toolchain/gcc/patches/4.8.0/810-arm-softfloat-libgcc.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch index a3816a17fb..33cf8add30 100644 --- a/toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch +++ b/toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch @@ -12,3 +12,14 @@ # Just for these, we omit the frame pointer since it makes such a big # difference. +--- a/gcc/config/arm/linux-elf.h ++++ b/gcc/config/arm/linux-elf.h +@@ -55,8 +55,6 @@ + %{shared:-lc} \ + %{!shared:%{profile:-lc_p}%{!profile:-lc}}" + +-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" +- + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" + + #define LINUX_TARGET_LINK_SPEC "%{h*} \ diff --git a/toolchain/gcc/patches/4.8.0/810-arm-softfloat-libgcc.patch b/toolchain/gcc/patches/4.8.0/810-arm-softfloat-libgcc.patch index a3816a17fb..33cf8add30 100644 --- a/toolchain/gcc/patches/4.8.0/810-arm-softfloat-libgcc.patch +++ b/toolchain/gcc/patches/4.8.0/810-arm-softfloat-libgcc.patch @@ -12,3 +12,14 @@ # Just for these, we omit the frame pointer since it makes such a big # difference. +--- a/gcc/config/arm/linux-elf.h ++++ b/gcc/config/arm/linux-elf.h +@@ -55,8 +55,6 @@ + %{shared:-lc} \ + %{!shared:%{profile:-lc_p}%{!profile:-lc}}" + +-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" +- + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" + + #define LINUX_TARGET_LINK_SPEC "%{h*} \ |