3 .PATH: ${.CURDIR}/arm/aeabi
5 SRCS+= aeabi_atexit.c \
10 # Add the aeabi_mem* functions. While they live in compiler-rt they call into
11 # libc. This causes issues when other parts of libc call these functions.
12 # We work around this by including these functions in libc but mark them as
13 # hidden so users of libc will not pick up these versions.
14 .PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/arm
16 SRCS+= aeabi_memcmp.S \
21 # Mark the functions as hidden so they are not available outside of libc.
22 CFLAGS.aeabi_memcmp.S= -DVISIBILITY_HIDDEN
23 CFLAGS.aeabi_memcpy.S= -DVISIBILITY_HIDDEN
24 CFLAGS.aeabi_memmove.S= -DVISIBILITY_HIDDEN
25 CFLAGS.aeabi_memset.S= -DVISIBILITY_HIDDEN
26 CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
29 SYM_MAPS+=${.CURDIR}/arm/aeabi/Symbol.map