Skip to content

Commit

Permalink
Add symbol maps and initial symbol version definitions to libc.
Browse files Browse the repository at this point in the history
Reviewed by:	davidxu
  • Loading branch information
Daniel Eischen authored and Daniel Eischen committed Mar 13, 2006
1 parent 51f38c3 commit cce72e8
Show file tree
Hide file tree
Showing 29 changed files with 3,241 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/libc/Versions.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# $FreeBSD$

# This is our first version; it depends on no other.
FBSD_1.0 {
};

# This is our private namespace. Any global interfaces that are
# strictly for use only by other FreeBSD applications and libraries
# are listed here. We use a separate namespace so we can write
# simple ABI-checking tools.
FBSDprivate {
};
77 changes: 77 additions & 0 deletions lib/libc/alpha/Symbol.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# $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;

__flt_rounds;
fpgetmask;
fpgetround;
fpgetsticky;
fpsetmask;
fpsetround;
__infinity;
__nan;
makecontext;
modf;
_setjmp;
_longjmp;
fabs;
rfork_thread;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
__htonl;
htonl;
__htons;
htons;
__ntohl;
ntohl;
__ntohs;
ntohs;
vfork;
exect;
fork;
sbrk;
};

#
# FreeBSD private ABI
#
FBSDprivate {
# PSEUDO syscalls
__sys_getlogin;
_getlogin;
__sys_exit;

_set_tp;
__makecontext;
__signalcontext;
signalcontext;
___longjmp;
__longjmp;
__siglongjmp;
__divqu;
__divq;
__divlu;
__divl;
__remqu;
__remq;
__remlu;
__reml;
__sys_vork;
_vfork;
__sys_fork;
_fork;
_end;
curbrk;
minbrk;
brk;
.cerror;
};
73 changes: 73 additions & 0 deletions lib/libc/amd64/Symbol.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# $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;
fpgetprec;
fpgetround;
fpgetsticky;
fpsetmask;
fpsetprec;
fpsetround;
__infinity;
__nan;
makecontext;
modf;
rfork_thread;
setjmp;
longjmp;
sigsetjmp;
siglongjmp;
htonl;
__htonl;
htons;
__htons;
ntohl;
__ntohl;
ntohs;
__ntohs;
amd64_get_fsbase;
amd64_get_gsbase;
amd64_set_fsbase;
amd64_set_gsbase;
brk;
exect;
sbrk;
vfork;
};

#
# FreeBSD private ABI
#
FBSDprivate {
# PSEUDO syscalls
__sys_getlogin;
_getlogin;
__sys_exit;

_set_tp;
___longjmp;
__makecontext;
__longjmp;
__signalcontext;
signalcontext;
__siglongjmp;
.curbrk;
.minbrk;
_brk;
.cerror;
_end;
__sys_vfork;
_vfork;
};
66 changes: 66 additions & 0 deletions lib/libc/arm/Symbol.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# $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;
alloca;
fabs;
__infinity;
__nan;
makecontext;
modf;
setjmp;
longjmp;
sigsetjmp;
siglongjmp
htonl;
__htonl;
htons;
__htons;
ntohl;
__ntohl;
ntohs;
__ntohs;
vfork;
brk;
cerror; # XXX - Should this be .cerror (see sys/cerror.S)?
fork;
sbrk;
};

FBSDprivate {
# PSEUDO syscalls
__sys_getlogin;
_getlogin;
__sys_exit;

_set_tp;
___longjmp;
__umodsi3;
__modsi3;
__udivsi3;
__divsi3;
__makecontext;
__longjmp;
signalcontext;
_signalcontext;
__siglongjmp;
__sys_vfork;
_vfork;
_brk;
end; # XXX - Should this be _end (see sys/brk.S)?
curbrk;
minbrk;
_brk;
__sys_fork;
_fork;
_sbrk;
};
21 changes: 21 additions & 0 deletions lib/libc/compat-43/Symbol.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# $FreeBSD$

FBSD_1.0 {
creat;
gethostid;
getwd;
killpg;
sethostid;
setpgrp;
setrgid;
setruid;
sigblock;
sigpause;
sigsetmask;
sigvec;
};

FBSDprivate {
__creat;
_creat;
};
30 changes: 30 additions & 0 deletions lib/libc/db/Symbol.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# $FreeBSD$

FBSD_1.0 {
dbopen;
dbm_open;
dbm_close;
dbm_fetch;
dbm_firstkey;
dbm_nextkey;
dbm_delete;
dbm_store;
dbm_error;
dbm_clearerr;
dbm_dirfno;
mpool_open;
mpool_filter;
mpool_new;
mpool_get;
mpool_put;
mpool_close;
mpool_sync;
mpool_stat;
};

FBSDprivate {
__bt_open;
__dbpanic;
__hash_open;
__rec_open;
};
39 changes: 39 additions & 0 deletions lib/libc/gdtoa/Symbol.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# $FreeBSD$

FBSD_1.0 {
# Standard functions from contrib/gdtoa
dtoa;
freedtoa;
g_Qfmt;
g_ddfmt;
g_dfmt;
g_ffmt;
g_xLfmt;
g_xfmt;
gdtoa;
strtoIQ;
strtoId;
strtoIdd;
strtoIf;
strtoIx;
strtoIxL;
strtod;
strtodI;
strtodg;
strtof;
strtopQ;
strtopd;
strtopdd;
strtopf;
strtopx;
strtopxL;
strtorQ;
strtord;
strtordd;
strtorf;
strtorx;
strtorxL;

# FreeBSD additions
strtold;
};
Loading

0 comments on commit cce72e8

Please sign in to comment.