gcc: fix visibility of symbols libgcc.a
[openwrt.git] / toolchain / gcc / patches / 4.8.0 / 810-arm-softfloat-libgcc.patch
index a3816a1..33cf8ad 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*} \