toolchain/gcc: add GCC 8.1.0
[openwrt/staging/wigyori.git] / toolchain / gcc / patches / 8.1.0 / 810-arm-softfloat-libgcc.patch
1 commit 8570c4be394cff7282f332f97da2ff569a927ddb
2 Author: Imre Kaloz <kaloz@openwrt.org>
3 Date: Wed Feb 2 20:06:12 2011 +0000
4
5 fixup arm soft-float symbols
6
7 SVN-Revision: 25325
8
9 --- a/libgcc/config/arm/t-linux
10 +++ b/libgcc/config/arm/t-linux
11 @@ -1,6 +1,10 @@
12 LIB1ASMSRC = arm/lib1funcs.S
13 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
14 - _ctzsi2 _arm_addsubdf3 _arm_addsubsf3
15 + _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \
16 + _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \
17 + _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \
18 + _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \
19 + _arm_fixsfsi _arm_fixunssfsi
20
21 # Just for these, we omit the frame pointer since it makes such a big
22 # difference.
23 --- a/gcc/config/arm/linux-elf.h
24 +++ b/gcc/config/arm/linux-elf.h
25 @@ -58,8 +58,6 @@
26 %{shared:-lc} \
27 %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
28
29 -#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc"
30 -
31 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
32
33 #define LINUX_TARGET_LINK_SPEC "%{h*} \