patches/gcc/4.3.1/750-arm-softfloat.patch
changeset 716 d557e8f3affc
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.3.1/750-arm-softfloat.patch	Thu Jul 24 16:57:03 2008 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +diff -durN gcc-4.3.1.orig/gcc/config/arm/linux-elf.h gcc-4.3.1/gcc/config/arm/linux-elf.h
     1.5 +--- gcc-4.3.1.orig/gcc/config/arm/linux-elf.h	2007-11-08 14:44:09.000000000 +0100
     1.6 ++++ gcc-4.3.1/gcc/config/arm/linux-elf.h	2008-07-23 15:30:57.000000000 +0200
     1.7 +@@ -60,7 +60,7 @@
     1.8 +    %{shared:-lc} \
     1.9 +    %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
    1.10 + 
    1.11 +-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
    1.12 ++#define LIBGCC_SPEC "-lgcc"
    1.13 + 
    1.14 + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
    1.15 + 
    1.16 +diff -durN gcc-4.3.1.orig/gcc/config/arm/t-linux gcc-4.3.1/gcc/config/arm/t-linux
    1.17 +--- gcc-4.3.1.orig/gcc/config/arm/t-linux	2006-11-09 23:14:27.000000000 +0100
    1.18 ++++ gcc-4.3.1/gcc/config/arm/t-linux	2008-07-23 19:15:25.000000000 +0200
    1.19 +@@ -3,7 +3,12 @@
    1.20 + TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
    1.21 + 
    1.22 + LIB1ASMSRC = arm/lib1funcs.asm
    1.23 +-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
    1.24 ++LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func \
    1.25 ++	_call_via_rX _interwork_call_via_rX \
    1.26 ++	_lshrdi3 _ashrdi3 _ashldi3 \
    1.27 ++	_negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
    1.28 ++	_truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
    1.29 ++	_fixsfsi _fixunssfsi _floatdidf _floatdisf _floatundidf _floatundisf
    1.30 + 
    1.31 + # MULTILIB_OPTIONS = mhard-float/msoft-float
    1.32 + # MULTILIB_DIRNAMES = hard-float soft-float