2
0

810-arm-softfloat-libgcc.patch 861 B

12345678910111213141516171819202122232425
  1. --- a/libgcc/config/arm/t-linux
  2. +++ b/libgcc/config/arm/t-linux
  3. @@ -1,6 +1,10 @@
  4. LIB1ASMSRC = arm/lib1funcs.S
  5. LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
  6. - _ctzsi2 _arm_addsubdf3 _arm_addsubsf3
  7. + _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
  8. + _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
  9. + _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
  10. + _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
  11. + _arm_fixsfsi _arm_fixunssfsi
  12. # Just for these, we omit the frame pointer since it makes such a big
  13. # difference.
  14. --- a/gcc/config/arm/linux-elf.h
  15. +++ b/gcc/config/arm/linux-elf.h
  16. @@ -60,8 +60,6 @@
  17. %{shared:-lc} \
  18. %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
  19. -#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
  20. -
  21. #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
  22. #define LINUX_TARGET_LINK_SPEC "%{h*} \