mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
7cd4a83267
my original implementation made both use the same code. Unfortunately, this meant libm depended on a vendor header at compile time and previously- unexposed vendor bits in libc at runtime. Hence, I just wrote my own version of the relevant vendor routine. As it turns out, mine has a factor of 8 fewer of lines of code, and is a bit more readable anyway. The strtod() and *scanf() routines still use vendor code. Reviewed by: bde
100 lines
1.2 KiB
Plaintext
100 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;
|
|
|
|
_mcount;
|
|
_setjmp;
|
|
_longjmp;
|
|
fabs;
|
|
__flt_rounds;
|
|
fpgetmask;
|
|
fpgetround;
|
|
fpgetsticky;
|
|
fpsetmask;
|
|
fpsetround;
|
|
__infinity;
|
|
__nan;
|
|
makecontext;
|
|
modf;
|
|
setjmp;
|
|
longjmp;
|
|
sigsetjmp;
|
|
siglongjmp;
|
|
htonl;
|
|
htons;
|
|
ntohl;
|
|
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_1.0 {
|
|
/* 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;
|
|
};
|