gcc: fix arm libgcc issues with 4.8.0 and 4.8-linaro
authorFelix Fietkau <nbd@openwrt.org>
Wed, 5 Jun 2013 23:37:12 +0000 (23:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 5 Jun 2013 23:37:12 +0000 (23:37 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36864

toolchain/gcc/patches/4.8-linaro/810-arm-softfloat-libgcc.patch
toolchain/gcc/patches/4.8.0/810-arm-softfloat-libgcc.patch

index a3816a17fb91ecc5b2d3369739390bd184b85037..33cf8add30d5e96b1a06a87c3190353503f55b06 100644 (file)
  
  # 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*} \
index a3816a17fb91ecc5b2d3369739390bd184b85037..33cf8add30d5e96b1a06a87c3190353503f55b06 100644 (file)
  
  # 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*} \