1245655Sandrew# $FreeBSD: stable/11/lib/libc/arm/aeabi/Makefile.inc 360660 2020-05-05 17:10:49Z dim $ 2245655Sandrew 3262722Smarcel.PATH: ${LIBC_SRCTOP}/arm/aeabi 4245655Sandrew 5245655SandrewSRCS+= aeabi_atexit.c \ 6268893Sian aeabi_unwind_cpp.c \ 7268893Sian aeabi_unwind_exidx.c 8300119Simp.if (${MACHINE_ARCH:Marmv6*} && defined(CPUTYPE) && ${CPUTYPE:M*soft*} != "") || \ 9300119Simp ${MACHINE_ARCH:Marmv6*} == "" 10273088SandrewSRCS+= aeabi_asm_double.S \ 11273088Sandrew aeabi_asm_float.S \ 12273088Sandrew aeabi_double.c \ 13263660Sandrew aeabi_float.c 14263660Sandrew.endif 15300119Simp.if ${MACHINE_ARCH:Marmv6*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "") 16263239SandrewSRCS+= aeabi_vfp_double.S \ 17263239Sandrew aeabi_vfp_float.S 18263239Sandrew.endif 19245655Sandrew 20246706Sandrew# Add the aeabi_mem* functions. While they live in compiler-rt they call into 21246706Sandrew# libc. This causes issues when other parts of libc call these functions. 22246706Sandrew# We work around this by including these functions in libc but mark them as 23246706Sandrew# hidden so users of libc will not pick up these versions. 24360660Sdim.PATH: ${SRCTOP}/contrib/llvm-project/compiler-rt/lib/builtins/arm 25246706Sandrew 26246706SandrewSRCS+= aeabi_memcmp.S \ 27246706Sandrew aeabi_memcpy.S \ 28246706Sandrew aeabi_memmove.S \ 29246706Sandrew aeabi_memset.S 30246706Sandrew 31316998SmmelSRCS+= aeabi_int_div.S 32316998Smmel 33262722SmarcelSYM_MAPS+=${LIBC_SRCTOP}/arm/aeabi/Symbol.map 34