]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - lib/libc/arm/aeabi/Makefile.inc
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / lib / libc / arm / aeabi / Makefile.inc
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/arm/aeabi
4
5 SRCS+=  aeabi_atexit.c          \
6         aeabi_double.c          \
7         aeabi_float.c           \
8         aeabi_unwind_cpp.c
9
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
15
16 SRCS+=  aeabi_memcmp.S          \
17         aeabi_memcpy.S          \
18         aeabi_memmove.S         \
19         aeabi_memset.S
20
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}}
27
28
29 SYM_MAPS+=${.CURDIR}/arm/aeabi/Symbol.map
30