toolchain/gcc: update 5.x to 5.5.0
[openwrt/openwrt.git] / toolchain / gcc / patches / 5.5.0 / 810-arm-softfloat-libgcc.patch
1 --- a/libgcc/config/arm/t-linux
2 +++ b/libgcc/config/arm/t-linux
3 @@ -1,6 +1,10 @@
4 LIB1ASMSRC = arm/lib1funcs.S
5 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
6 - _ctzsi2 _arm_addsubdf3 _arm_addsubsf3
7 + _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
8 + _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
9 + _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
10 + _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
11 + _arm_fixsfsi _arm_fixunssfsi
12
13 # Just for these, we omit the frame pointer since it makes such a big
14 # difference.
15 --- a/gcc/config/arm/linux-elf.h
16 +++ b/gcc/config/arm/linux-elf.h
17 @@ -60,8 +60,6 @@
18 %{shared:-lc} \
19 %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
20
21 -#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
22 -
23 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
24
25 #define LINUX_TARGET_LINK_SPEC "%{h*} \