810-arm-softfloat-libgcc.patch 913 B

12345678910111213141516171819202122232425
  1. --- a/gcc/config/arm/linux-elf.h
  2. +++ b/gcc/config/arm/linux-elf.h
  3. @@ -60,7 +60,7 @@
  4. %{shared:-lc} \
  5. %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
  6. -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
  7. +#define LIBGCC_SPEC "-lgcc"
  8. #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
  9. --- a/gcc/config/arm/t-linux
  10. +++ b/gcc/config/arm/t-linux
  11. @@ -4,7 +4,10 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
  12. LIB1ASMSRC = arm/lib1funcs.asm
  13. LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
  14. - _arm_addsubdf3 _arm_addsubsf3
  15. + _arm_addsubdf3 _arm_addsubsf3 \
  16. + _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
  17. + _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
  18. + _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
  19. # MULTILIB_OPTIONS = mhard-float/msoft-float
  20. # MULTILIB_DIRNAMES = hard-float soft-float