gcc: refresh patches for gcc 4.1.2
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.1.2 / 910-soft-float.patch
1 --- a/gcc/config/arm/linux-elf.h
2 +++ b/gcc/config/arm/linux-elf.h
3 @@ -63,7 +63,7 @@
4 %{shared:-lc} \
5 %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
6
7 -#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
8 +#define LIBGCC_SPEC "-lgcc"
9
10 #ifdef USE_UCLIBC
11 #define LINUX_TARGET_INTERPRETER "/lib/ld-uClibc.so.0"
12 --- a/gcc/config/arm/t-linux
13 +++ b/gcc/config/arm/t-linux
14 @@ -4,7 +4,10 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
15 LIBGCC2_DEBUG_CFLAGS = -g0
16
17 LIB1ASMSRC = arm/lib1funcs.asm
18 -LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
19 +LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
20 + _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
21 + _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
22 + _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
23
24 # MULTILIB_OPTIONS = mhard-float/msoft-float
25 # MULTILIB_DIRNAMES = hard-float soft-float