try to get away with fewer softfp helpers
[buildroot.git] / toolchain / gcc / 4.4.0 / 810-arm-softfloat-libgcc.patch
blob08f59ecccc02671531901d2b80cc509bd0069be4
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 #
8 # LIB1ASMSRC = arm/lib1funcs.asm
9 #-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2
10 #+LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
11 #+ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
12 #+ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
13 #+ _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
15 # # MULTILIB_OPTIONS = mhard-float/msoft-float
16 # # MULTILIB_DIRNAMES = hard-float soft-float
17 Index: gcc-4.3.0/gcc/config/arm/linux-elf.h
18 ===================================================================
19 --- gcc-4.3.0/gcc/config/arm/linux-elf.h (revision 129896)
20 +++ gcc-4.3.0/gcc/config/arm/linux-elf.h (working copy)
21 @@ -48,7 +62,7 @@
22 %{shared:-lc} \
23 %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
25 -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
26 +#define LIBGCC_SPEC "-lgcc"
28 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"