3 .PATH: ${.CURDIR}/arm/aeabi
5 SRCS+= aeabi_asm_double.S \
12 .if ${MACHINE_ARCH:Marmv6*}
13 SRCS+= aeabi_vfp_double.S \
17 # Add the aeabi_mem* functions. While they live in compiler-rt they call into
18 # libc. This causes issues when other parts of libc call these functions.
19 # We work around this by including these functions in libc but mark them as
20 # hidden so users of libc will not pick up these versions.
21 .PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/arm
23 SRCS+= aeabi_memcmp.S \
28 # Mark the functions as hidden so they are not available outside of libc.
29 CFLAGS.aeabi_memcmp.S= -DVISIBILITY_HIDDEN
30 CFLAGS.aeabi_memcpy.S= -DVISIBILITY_HIDDEN
31 CFLAGS.aeabi_memmove.S= -DVISIBILITY_HIDDEN
32 CFLAGS.aeabi_memset.S= -DVISIBILITY_HIDDEN
33 CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
36 SYM_MAPS+=${.CURDIR}/arm/aeabi/Symbol.map