2013-01-19 05:33:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-03-04 02:19:39 +00:00
|
|
|
.PATH: ${LIBC_SRCTOP}/arm/aeabi
|
2013-01-19 05:33:55 +00:00
|
|
|
|
|
|
|
SRCS+= aeabi_atexit.c \
|
2014-07-19 22:13:27 +00:00
|
|
|
aeabi_unwind_cpp.c \
|
|
|
|
aeabi_unwind_exidx.c
|
2016-05-18 06:01:18 +00:00
|
|
|
.if (${MACHINE_ARCH:Marmv6*} && defined(CPUTYPE) && ${CPUTYPE:M*soft*} != "") || \
|
|
|
|
${MACHINE_ARCH:Marmv6*} == ""
|
2014-10-14 14:27:51 +00:00
|
|
|
SRCS+= aeabi_asm_double.S \
|
|
|
|
aeabi_asm_float.S \
|
|
|
|
aeabi_double.c \
|
2014-03-23 12:49:25 +00:00
|
|
|
aeabi_float.c
|
|
|
|
.endif
|
2016-05-18 06:01:18 +00:00
|
|
|
.if ${MACHINE_ARCH:Marmv6*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
|
2014-03-16 13:16:30 +00:00
|
|
|
SRCS+= aeabi_vfp_double.S \
|
|
|
|
aeabi_vfp_float.S
|
|
|
|
.endif
|
2013-01-19 05:33:55 +00:00
|
|
|
|
2013-02-12 06:04:51 +00:00
|
|
|
# Add the aeabi_mem* functions. While they live in compiler-rt they call into
|
|
|
|
# libc. This causes issues when other parts of libc call these functions.
|
|
|
|
# We work around this by including these functions in libc but mark them as
|
|
|
|
# hidden so users of libc will not pick up these versions.
|
2017-01-20 03:23:24 +00:00
|
|
|
.PATH: ${SRCTOP}/contrib/compiler-rt/lib/builtins/arm
|
2013-02-12 06:04:51 +00:00
|
|
|
|
|
|
|
SRCS+= aeabi_memcmp.S \
|
|
|
|
aeabi_memcpy.S \
|
|
|
|
aeabi_memmove.S \
|
|
|
|
aeabi_memset.S
|
|
|
|
|
2014-03-04 02:19:39 +00:00
|
|
|
SYM_MAPS+=${LIBC_SRCTOP}/arm/aeabi/Symbol.map
|
2013-01-19 05:33:55 +00:00
|
|
|
|