4 SHLIB_NAME= libgcc_s.so.1
12 LDFLAGS+= -nodefaultlibs
15 VERSION_DEF= ${.CURDIR}/Versions.def
16 SYMBOL_MAPS= ${.CURDIR}/Symbol.map
17 # Export ARM AEABI unwind routines needed by libc and libthr.
18 .if exists(${.CURDIR}/${MACHINE_CPUARCH}/Symbol.map)
19 SYMBOL_MAPS+= ${.CURDIR}/${MACHINE_CPUARCH}/Symbol.map
21 SYMBOL_MAPS+= ${.CURDIR}/SymbolDefault.map
24 .include "../libcompiler_rt/Makefile.inc"
25 .include "../libgcc_eh/Makefile.inc"
27 # gcc has incompatible internal declarations for __divtc3 and __multc3, but has
28 # no option to silence its warning, so make warnings non-fatal.
31 LIBCSRCDIR= ${SRCTOP}/lib/libc
32 LIBMSRCDIR= ${SRCTOP}/lib/msun/src
33 CFLAGS+= -I${LIBCSRCDIR}/include -I${LIBCSRCDIR}/${MACHINE_CPUARCH}
34 CFLAGS+= -I${LIBMSRCDIR}
46 # Don't include long double routines on architectures where long double
47 # is the same size as double.
48 .if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" && \
49 ${MACHINE_CPUARCH} != "powerpc"