opnsense-src/lib/libc/amd64/Symbol.map
Brooks Davis f695db9fba libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them
in gen/Symbol.map.

We would also include __flt_rounds, but  it's under FBSD_1.3 on arm so
until that's gone we're stuck with it.  Likewise, everyone but i386
implements fp[gs]etmask.

Reviewed by:	imp, kib, emaste
Differential Revision:	https://reviews.freebsd.org/D42618

(cherry picked from commit c7045186819dbc64c3f005cb1138a1948868cf5a)
2023-12-13 22:08:14 +00:00

48 lines
717 B
Text

/*
* 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 {
.mcount;
__flt_rounds;
fpgetmask;
fpgetprec;
fpgetround;
fpgetsticky;
fpsetmask;
fpsetprec;
fpsetround;
rfork_thread;
amd64_get_fsbase;
amd64_get_gsbase;
amd64_set_fsbase;
amd64_set_gsbase;
brk;
sbrk;
};
FBSD_1.6 {
x86_pkru_get_perm;
x86_pkru_set_perm;
x86_pkru_protect_range;
x86_pkru_unprotect_range;
};
/*
*
* FreeBSD private ABI
*
*/
FBSDprivate_1.0 {
/* PSEUDO syscalls */
_getlogin;
___longjmp;
__longjmp;
__signalcontext;
signalcontext;
__siglongjmp;
_brk;
_vfork;
};