diff options
author | andrew <andrew@FreeBSD.org> | 2013-03-17 01:03:41 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-03-17 01:03:41 +0000 |
commit | 0952142d826cdedb72792f3ca6ea791c6b9afb23 (patch) | |
tree | fddb60d0b01ee2521316135715ad6b0f66f4b2fe /gnu/lib/libgcc | |
parent | 9501bcd7501beb9d3154c39d899b469bf5a2381f (diff) | |
download | FreeBSD-src-0952142d826cdedb72792f3ca6ea791c6b9afb23.zip FreeBSD-src-0952142d826cdedb72792f3ca6ea791c6b9afb23.tar.gz |
Link libgcc_s against compiler-rt on ARM EABI. This allows us to use all of
the symbols in compiler-rt, including the ones not available in the old
libgcc. This fixes the build with clang which generates calls to funstions
that are missing from libgcc_s.
Diffstat (limited to 'gnu/lib/libgcc')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 73d9213..a06daa7 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -123,10 +123,10 @@ CFLAGS+= -fheinous-gnu-extensions LIB1ASMSRC = lib1funcs.asm LIB1ASMFUNCS = _dvmd_tls _bb_init_func .if ${MK_ARM_EABI} != "no" -LIB1ASMFUNCS+= _addsubdf3 _addsubsf3 _cmpdf2 _cmpsf2 _fixdfsi _fixsfsi \ - _fixunsdfsi _fixunsdfsi _muldivdf3 _muldivsf3 _udivsi3 - LIB2ADDEH = unwind-arm.c libunwind.S pr-support.c unwind-c.c +# Some compilers generate __aeabi_ functions libgcc_s is missing +DPADD+= ${LIBGCC} +LDADD+= -lgcc .else LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c .endif |