805eb13a60
NetBSD and OpenBSD have libc wrapper functions for the ARM_SYNC_ICACHE and ARM_DRAIN_WRITEBUF sysarch operations. This change adds compatible functions to our library. This should make it easier for various upstream sources to support *BSD operating systems with a single variation of cache maintence code in tools like interpreters and JIT compilers. I consider the argument types passed to arm_sync_icache() to be especially unfortunate, but this is intended to match the other BSDs. Differential Revision: https://reviews.freebsd.org/D20906
38 lines
607 B
Makefile
38 lines
607 B
Makefile
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
|
# $FreeBSD$
|
|
|
|
SRCS+= \
|
|
__aeabi_read_tp.S \
|
|
_ctx_start.S \
|
|
_set_tp.c \
|
|
_setjmp.S \
|
|
alloca.S \
|
|
arm_initfini.c \
|
|
arm_drain_writebuf.c \
|
|
arm_sync_icache.c \
|
|
fabs.c \
|
|
flt_rounds.c \
|
|
getcontextx.c \
|
|
infinity.c \
|
|
ldexp.c \
|
|
makecontext.c \
|
|
setjmp.S \
|
|
signalcontext.c \
|
|
sigsetjmp.S \
|
|
|
|
MAN+= \
|
|
arm_drain_writebuf.2 \
|
|
arm_sync_icache.2 \
|
|
|
|
.if ${MACHINE_ARCH:Marmv[67]*} && (!defined(CPUTYPE) || ${CPUTYPE:M*soft*} == "")
|
|
|
|
SRCS+= \
|
|
fpgetmask_vfp.c \
|
|
fpgetround_vfp.c \
|
|
fpgetsticky_vfp.c \
|
|
fpsetmask_vfp.c \
|
|
fpsetround_vfp.c \
|
|
fpsetsticky_vfp.c \
|
|
|
|
.endif
|