arm-softfloat-libgcc.patch 1.2 KB

1234567891011121314151617181920212223242526272829
  1. Index: gcc-4.3.0/gcc/config/arm/t-linux
  2. ===================================================================
  3. --- gcc-4.3.0/gcc/config/arm/t-linux (revision 129896)
  4. +++ gcc-4.3.0/gcc/config/arm/t-linux (working copy)
  5. @@ -3,7 +3,10 @@
  6. TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
  7. LIB1ASMSRC = arm/lib1funcs.asm
  8. -LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
  9. +LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
  10. + _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
  11. + _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
  12. + _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
  13. # MULTILIB_OPTIONS = mhard-float/msoft-float
  14. # MULTILIB_DIRNAMES = hard-float soft-float
  15. Index: gcc-4.3.0/gcc/config/arm/linux-elf.h
  16. ===================================================================
  17. --- gcc-4.3.0/gcc/config/arm/linux-elf.h (revision 129896)
  18. +++ gcc-4.3.0/gcc/config/arm/linux-elf.h (working copy)
  19. @@ -48,7 +62,7 @@
  20. %{shared:-lc} \
  21. %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
  22. -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
  23. +#define LIBGCC_SPEC "-lgcc"
  24. #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"