libc: centralize {_,sig,}{set,long}jmp symbols

These symbols are universally exposed and documented so declare them
centrally.  Double- and triple-underscore versions exist on some
platforms, but leave those alone for now.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D42616
This commit is contained in:
Brooks Davis 2023-11-15 23:41:35 +00:00
parent ff3a9d8e29
commit 1c656143be
8 changed files with 6 additions and 42 deletions

View file

@ -5,18 +5,12 @@
*/
FBSD_1.0 {
.mcount;
_setjmp;
_longjmp;
fabs;
__flt_rounds;
fpgetmask;
fpsetmask;
__infinity;
__nan;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
makecontext;
};

View file

@ -5,8 +5,6 @@
*/
FBSD_1.0 {
.mcount;
_setjmp;
_longjmp;
fabs;
__flt_rounds;
fpgetmask;
@ -20,10 +18,6 @@ FBSD_1.0 {
__nan;
makecontext;
rfork_thread;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
amd64_get_fsbase;
amd64_get_gsbase;
amd64_set_fsbase;

View file

@ -5,17 +5,11 @@
*/
FBSD_1.0 {
__mcount;
_setjmp;
_longjmp;
alloca;
fabs;
__infinity;
__nan;
makecontext;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
brk;
sbrk;
};

View file

@ -217,6 +217,12 @@ FBSD_1.0 {
group_from_gid;
setdomainname;
sethostname;
_setjmp;
_longjmp;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
longjmperror;
getmode;
setmode;

View file

@ -5,8 +5,6 @@
*/
FBSD_1.0 {
.mcount;
_setjmp;
_longjmp;
alloca;
fabs;
__flt_rounds;
@ -14,10 +12,6 @@ FBSD_1.0 {
__infinity;
makecontext;
rfork_thread;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
brk;
i386_clr_watch;
i386_get_fsbase;

View file

@ -5,8 +5,6 @@
*/
FBSD_1.0 {
_mcount;
_setjmp;
_longjmp;
fabs;
__flt_rounds;
fpgetmask;
@ -17,10 +15,6 @@ FBSD_1.0 {
__infinity;
__nan;
makecontext;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
brk;
sbrk;
};

View file

@ -5,8 +5,6 @@
*/
FBSD_1.0 {
_mcount;
_setjmp;
_longjmp;
fabs;
__flt_rounds;
fpgetmask;
@ -17,10 +15,6 @@ FBSD_1.0 {
__infinity;
__nan;
makecontext;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
brk;
sbrk;
};

View file

@ -4,18 +4,12 @@
* stdlib/Symbol.map, string/Symbol.map, sys/Symbol.map, ...).
*/
FBSD_1.0 {
_setjmp;
_longjmp;
fabs;
__flt_rounds;
fpgetmask;
fpsetmask;
__infinity;
__nan;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
makecontext;
};