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
67 lines
810 B
Plaintext
67 lines
810 B
Plaintext
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/*
|
|
* This only needs to contain symbols that are not listed in
|
|
* symbol maps from other parts of libc (i.e., not found in
|
|
* stdlib/Symbol.map, string/Symbol.map, sys/Symbol.map, ...).
|
|
*/
|
|
FBSD_1.0 {
|
|
/* PSEUDO syscalls */
|
|
_exit;
|
|
|
|
__mcount;
|
|
_setjmp;
|
|
_longjmp;
|
|
alloca;
|
|
fabs;
|
|
__infinity;
|
|
__nan;
|
|
makecontext;
|
|
setjmp;
|
|
longjmp;
|
|
sigsetjmp;
|
|
siglongjmp;
|
|
htonl;
|
|
htons;
|
|
ntohl;
|
|
ntohs;
|
|
vfork;
|
|
brk;
|
|
sbrk;
|
|
};
|
|
|
|
FBSD_1.3 {
|
|
__flt_rounds;
|
|
};
|
|
|
|
FBSD_1.4 {
|
|
__gnu_Unwind_Find_exidx;
|
|
dl_unwind_find_exidx;
|
|
};
|
|
|
|
FBSD_1.6 {
|
|
arm_drain_writebuf;
|
|
arm_sync_icache;
|
|
};
|
|
|
|
FBSDprivate_1.0 {
|
|
/* PSEUDO syscalls */
|
|
_getlogin;
|
|
|
|
_set_tp;
|
|
__aeabi_read_tp;
|
|
___longjmp;
|
|
__makecontext;
|
|
__longjmp;
|
|
signalcontext;
|
|
_signalcontext;
|
|
__siglongjmp;
|
|
_vfork;
|
|
_brk;
|
|
_sbrk;
|
|
|
|
_libc_arm_fpu_present;
|
|
};
|