677a88cec2
handling. For statically linked apps this uses the __exidx_start/end symbols set up by the linker. For dynamically linked apps it finds the shared object that contains the given address and returns the location and size of the exidx section in that shared object. The dl_unwind_find_exidx() name is used by other BSD projects and Android, and is mentioned in clang 3.5 comments as "the BSD interface" for finding exidx data. GCC (in libgcc_s) expects the exact same API and functionality to be provided by a function named __gnu_Unwind_Find_exidx(), so we provide that with an alias ("strong reference"). Reviewed by: kib@ MFC after: 1 week
87 lines
1.1 KiB
Plaintext
87 lines
1.1 KiB
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;
|
|
cerror; /* XXX - Should this be .cerror (see sys/cerror.S)? */
|
|
sbrk;
|
|
};
|
|
|
|
FBSD_1.3 {
|
|
__flt_rounds;
|
|
};
|
|
|
|
FBSD_1.4 {
|
|
__gnu_Unwind_Find_exidx;
|
|
dl_unwind_find_exidx;
|
|
};
|
|
|
|
FBSDprivate_1.0 {
|
|
/* PSEUDO syscalls */
|
|
__sys_getlogin;
|
|
_getlogin;
|
|
__sys_exit;
|
|
|
|
_set_tp;
|
|
__aeabi_read_tp;
|
|
___longjmp;
|
|
__makecontext;
|
|
__longjmp;
|
|
signalcontext;
|
|
_signalcontext;
|
|
__siglongjmp;
|
|
__sys_vfork;
|
|
_vfork;
|
|
_brk;
|
|
_end;
|
|
curbrk;
|
|
minbrk;
|
|
_sbrk;
|
|
|
|
/* softfloat */
|
|
__addsf3;
|
|
__adddf3;
|
|
__subsf3;
|
|
__subdf3;
|
|
__mulsf3;
|
|
__muldf3;
|
|
__divsf3;
|
|
__divdf3;
|
|
__floatsisf;
|
|
__floatsidf;
|
|
__fixsfsi;
|
|
__fixdfsi;
|
|
__fixunssfsi;
|
|
__fixunsdfsi;
|
|
__extendsfdf2;
|
|
__truncdfsf2;
|
|
|
|
_libc_arm_fpu_present;
|
|
};
|