summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch
diff options
context:
space:
mode:
authorArtur Artamonov <freeartman@wechall.net>2013-11-30 13:12:48 +0200
committerArtur Artamonov <freeartman@wechall.net>2013-11-30 13:12:48 +0200
commit8e00ec7d0c6082153c19df3c02833758f12afa07 (patch)
tree611fa8c5468172ca0f4b25cf891a0e7d82d68a96 /toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch
parent3b9e39f8fb790e6da476ab4cb8ad984c2b23c077 (diff)
Fix uncompilation problem. Compiles with openwrt-trunktoolchain-unstable
Diffstat (limited to 'toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch')
-rw-r--r--toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch11
1 files changed, 11 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 a3816a17f..33cf8add3 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*} \