1
0

810-arm-softfloat-libgcc.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. commit 8570c4be394cff7282f332f97da2ff569a927ddb
  2. Author: Imre Kaloz <kaloz@openwrt.org>
  3. Date: Wed Feb 2 20:06:12 2011 +0000
  4. fixup arm soft-float symbols
  5. SVN-Revision: 25325
  6. --- a/libgcc/config/arm/t-linux
  7. +++ b/libgcc/config/arm/t-linux
  8. @@ -1,6 +1,10 @@
  9. LIB1ASMSRC = arm/lib1funcs.S
  10. LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
  11. - _ctzsi2 _arm_addsubdf3 _arm_addsubsf3
  12. + _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
  13. + _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
  14. + _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
  15. + _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
  16. + _arm_fixsfsi _arm_fixunssfsi
  17. # Just for these, we omit the frame pointer since it makes such a big
  18. # difference.
  19. --- a/gcc/config/arm/linux-elf.h
  20. +++ b/gcc/config/arm/linux-elf.h
  21. @@ -58,8 +58,6 @@
  22. %{shared:-lc} \
  23. %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
  24. -#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
  25. -
  26. #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
  27. #define LINUX_TARGET_LINK_SPEC "%{h*} \