ea84e2b899
as well as add __sparc_utrap_install to FBSD_1.0; these are required by the SCD libc 64 psABI and thus meant to be officially exported symbols. - Remove the __fpu_* entries as well as the __sigtramp entry altogether as these are internal to the libc FPU emulation and the signal trampoline initialization in sigaction(2) respectively and thus don't need to be externally visible. - Add __sparc_utrap_setup to the list of FBSDprivate symbols as it's used in src/lib/csu/sparc64/crt1.c to initialize the libc FPU emulation (I think alternatively src/lib/csu/sparc64/crt1.c could be changed to use __sparc_utrap_install instead, at the expense of increasing the size of executables a bit). - Add an entry for the vfork symbol to the FBSD_1 list and entries for it's associated symbols generated by the RSYSCALL() macro to the FBSDprivate list. There's some magic in place that automatically generates code for vfork() if there's no explicit MD code for it so it might make sense to move these symbols from the MD symbol map files to a MI one. The last two changes make the libc symbol versioning useable on sparc64. Ok'ed by: deischen
101 lines
1.2 KiB
Plaintext
101 lines
1.2 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;
|
|
|
|
_setjmp;
|
|
_longjmp;
|
|
fabs;
|
|
__flt_rounds;
|
|
fpgetmask;
|
|
fpgetround;
|
|
fpgetsticky;
|
|
fpsetmask;
|
|
fpsetround;
|
|
__infinity;
|
|
__nan;
|
|
makecontext;
|
|
modf;
|
|
setjmp;
|
|
longjmp;
|
|
sigsetjmp;
|
|
siglongjmp;
|
|
htonl;
|
|
__htonl;
|
|
htons;
|
|
__htons;
|
|
ntohl;
|
|
__ntohl;
|
|
ntohs;
|
|
__ntohs;
|
|
brk;
|
|
exect;
|
|
sbrk;
|
|
vfork;
|
|
|
|
# SCD libc 64 psABI
|
|
_Qp_sqrt;
|
|
_Qp_add;
|
|
_Qp_div;
|
|
_Qp_mul;
|
|
_Qp_sub;
|
|
_Qp_dtoq;
|
|
_Qp_itoq;
|
|
_Qp_stoq;
|
|
_Qp_xtoq;
|
|
_Qp_uitoq;
|
|
_Qp_uxtoq;
|
|
_Qp_qtod;
|
|
_Qp_qtoi;
|
|
_Qp_qtos;
|
|
_Qp_qtox;
|
|
_Qp_qtoui;
|
|
_Qp_qtoux;
|
|
_Qp_feq;
|
|
_Qp_fge;
|
|
_Qp_fgt;
|
|
_Qp_fle;
|
|
_Qp_flt;
|
|
_Qp_fne;
|
|
_Qp_cmp;
|
|
_Qp_cmpe;
|
|
__dtoul;
|
|
__sparc_utrap_install;
|
|
};
|
|
|
|
FBSDprivate {
|
|
# PSEUDO syscalls
|
|
__sys_getlogin;
|
|
_getlogin;
|
|
__sys_exit;
|
|
|
|
_set_tp;
|
|
___longjmp;
|
|
__makecontext;
|
|
__longjmp;
|
|
signalcontext;
|
|
__signalcontext;
|
|
__siglongjmp;
|
|
.curbrk;
|
|
.minbrk;
|
|
__sys_brk;
|
|
_brk;
|
|
.cerror;
|
|
__sys_exect;
|
|
_exect;
|
|
_end;
|
|
__sys_sbrk;
|
|
_sbrk;
|
|
__sys_vfork;
|
|
_vfork;
|
|
|
|
# used in src/lib/csu/sparc64/crt1.c
|
|
__sparc_utrap_setup;
|
|
};
|