Makefile.inc revision 269792
1# $FreeBSD: stable/10/lib/libc/arm/aeabi/Makefile.inc 269792 2014-08-10 22:26:29Z ian $ 2 3.PATH: ${.CURDIR}/arm/aeabi 4 5SRCS+= aeabi_atexit.c \ 6 aeabi_double.c \ 7 aeabi_float.c \ 8 aeabi_unwind_cpp.c \ 9 aeabi_unwind_exidx.c 10.if ${MACHINE_ARCH:Marmv6*} 11SRCS+= aeabi_vfp_double.S \ 12 aeabi_vfp_float.S 13.endif 14 15# Add the aeabi_mem* functions. While they live in compiler-rt they call into 16# libc. This causes issues when other parts of libc call these functions. 17# We work around this by including these functions in libc but mark them as 18# hidden so users of libc will not pick up these versions. 19.PATH: ${.CURDIR}/../../contrib/compiler-rt/lib/arm 20 21SRCS+= aeabi_memcmp.S \ 22 aeabi_memcpy.S \ 23 aeabi_memmove.S \ 24 aeabi_memset.S 25 26# Mark the functions as hidden so they are not available outside of libc. 27CFLAGS.aeabi_memcmp.S= -DVISIBILITY_HIDDEN 28CFLAGS.aeabi_memcpy.S= -DVISIBILITY_HIDDEN 29CFLAGS.aeabi_memmove.S= -DVISIBILITY_HIDDEN 30CFLAGS.aeabi_memset.S= -DVISIBILITY_HIDDEN 31CFLAGS+= ${CFLAGS.${.IMPSRC:T}} 32 33 34SYM_MAPS+=${.CURDIR}/arm/aeabi/Symbol.map 35 36