Finished thorough pass of libc symbol maps
authorJohn Marino <draco@marino.st>
Sun, 6 Sep 2015 15:47:17 +0000 (17:47 +0200)
committerJohn Marino <draco@marino.st>
Sun, 6 Sep 2015 15:50:59 +0000 (17:50 +0200)
Before versioning of libc can be turned on, it requires through testing.
1) It's got to complete a full buildworld, of course
2) It's got to complete a dports bulk build without significant fallout

lib/libc/db/Symbol.map
lib/libc/gen/Symbol.map
lib/libc/stdtime/Symbol.map
lib/libc/sysvipc/Symbol.map
lib/libc/x86_64/Symbol.map

index 36108fb..0a5f8d9 100644 (file)
@@ -1,88 +1,28 @@
-DF402.0 {
-    dbopen;
-    dbm_open;
+DF404.0 {
+    dbm_clearerr;
     dbm_close;
+    dbm_delete;
+    dbm_dirfno;
+    dbm_error;
     dbm_fetch;
     dbm_firstkey;
     dbm_nextkey;
-    dbm_delete;
+    dbm_open;
     dbm_store;
-    dbm_error;
-    dbm_clearerr;
-    dbm_dirfno;
-    mpool_open;
+    dbopen;
+    mpool_close;
     mpool_delete;
     mpool_filter;
-    mpool_new;
     mpool_get;
+    mpool_new;
+    mpool_open;
     mpool_put;
-    mpool_close;
     mpool_sync;
-    mpool_stat;
 };
 
 DFprivate_1.0 {
-    __add_ovflpage;
-    __addel;
-    __big_delete;
-    __big_insert;
-    __big_keydata;
-    __big_return;
-    __big_split;
-    __bt_close;
-    __bt_cmp;
-    __bt_defcmp;
-    __bt_defpfx;
-    __bt_delete;
-    __bt_dleaf;
-    __bt_fd;
-    __bt_free;
-    __bt_get;
-    __bt_new;
     __bt_open;
-    __bt_pgin;
-    __bt_pgout;
-    __bt_put;
-    __bt_ret;
-    __bt_search;
-    __bt_seq;
-    __bt_setcur;
-    __bt_split;
-    __bt_sync;
-    __buf_free;
-    __buf_init;
-    __call_hash;
     __dbpanic;
     __hash_open;
-    __default_hash;
-    __delpair;
-    __expand_table;
-    __free_ovflpage;
-    __find_bigpair;
-    __find_last_page;
-    __get_buf;
-    __get_page;
-    __ibitmap;
-    __log2;
-    __ovfl_delete;
-    __ovfl_get;
-    __ovfl_put;
-    __put_page;
-    __rec_close;
-    __rec_delete;
-    __rec_dleaf;
-    __rec_fd;
-    __rec_fmap;
-    __rec_fpipe;
-    __rec_get;
-    __rec_iput;
     __rec_open;
-    __rec_put;
-    __rec_ret;
-    __rec_search;
-    __rec_seq;
-    __rec_sync;
-    __rec_vmap;
-    __rec_vpipe;
-    __reclaim_buf;
 };
index 5dd5788..d9a49f3 100644 (file)
-DF402.0 {
+DF404.0 {
+       /* pthread stubs */
+    pthread_atfork;
+    pthread_attr_destroy;
+    pthread_attr_get_np;
+    pthread_attr_getdetachstate;
+    pthread_attr_getguardsize;
+    pthread_attr_getinheritsched;
+    pthread_attr_getschedparam;
+    pthread_attr_getschedpolicy;
+    pthread_attr_getscope;
+    pthread_attr_getstack;
+    pthread_attr_getstackaddr;
+    pthread_attr_getstacksize;
+    pthread_attr_init;
+    pthread_attr_setcreatesuspend_np;
+    pthread_attr_setdetachstate;
+    pthread_attr_setguardsize;
+    pthread_attr_setinheritsched;
+    pthread_attr_setschedparam;
+    pthread_attr_setschedpolicy;
+    pthread_attr_setscope;
+    pthread_attr_setstack;
+    pthread_attr_setstackaddr;
+    pthread_attr_setstacksize;
+    pthread_barrier_destroy;
+    pthread_barrier_init;
+    pthread_barrier_wait;
+    pthread_barrierattr_destroy;
+    pthread_barrierattr_getpshared;
+    pthread_barrierattr_init;
+    pthread_barrierattr_setpshared;
+    pthread_cancel;
+    pthread_cleanup_pop;
+    pthread_cleanup_push;
+    pthread_cond_broadcast;
+    pthread_cond_destroy;
+    pthread_cond_init;
+    pthread_cond_signal;
+    pthread_cond_timedwait;
+    pthread_cond_wait;
+    pthread_condattr_destroy;
+    pthread_condattr_getclock;
+    pthread_condattr_getpshared;
+    pthread_condattr_init;
+    pthread_condattr_setclock;
+    pthread_condattr_setpshared;
+    pthread_detach;
+    pthread_equal;
+    pthread_exit;
+    pthread_getconcurrency;
+    pthread_getprio;
+    pthread_getschedparam;
+    pthread_getspecific;
+    pthread_init;
+    pthread_init_early;
+    pthread_join;
+    pthread_key_create;
+    pthread_key_delete;
+    pthread_kill;
+    pthread_main_np;
+    pthread_multi_np;
+    pthread_mutex_destroy;
+    pthread_mutex_getprioceiling;
+    pthread_mutex_init;
+    pthread_mutex_lock;
+    pthread_mutex_setprioceiling;
+    pthread_mutex_timedlock;
+    pthread_mutex_trylock;
+    pthread_mutex_unlock;
+    pthread_mutexattr_destroy;
+    pthread_mutexattr_getkind_np;
+    pthread_mutexattr_getprioceiling;
+    pthread_mutexattr_getprotocol;
+    pthread_mutexattr_getpshared;
+    pthread_mutexattr_gettype;
+    pthread_mutexattr_init;
+    pthread_mutexattr_setkind_np;
+    pthread_mutexattr_setprioceiling;
+    pthread_mutexattr_setprotocol;
+    pthread_mutexattr_setpshared;
+    pthread_mutexattr_settype;
+    pthread_once;
+    pthread_resume_all_np;
+    pthread_resume_np;
+    pthread_rwlock_destroy;
+    pthread_rwlock_init;
+    pthread_rwlock_rdlock;
+    pthread_rwlock_timedrdlock;
+    pthread_rwlock_timedwrlock;
+    pthread_rwlock_tryrdlock;
+    pthread_rwlock_trywrlock;
+    pthread_rwlock_unlock;
+    pthread_rwlock_wrlock;
+    pthread_rwlockattr_destroy;
+    pthread_rwlockattr_getpshared;
+    pthread_rwlockattr_init;
+    pthread_rwlockattr_setpshared;
+    pthread_self;
+    pthread_set_name_np;
+    pthread_setcancelstate;
+    pthread_setcanceltype;
+    pthread_setconcurrency;
+    pthread_setprio;
+    pthread_setschedparam;
+    pthread_setspecific;
+    pthread_sigmask;
+    pthread_single_np;
+    pthread_spin_destroy;
+    pthread_spin_init;
+    pthread_spin_lock;
+    pthread_spin_trylock;
+    pthread_spin_unlock;
+    pthread_suspend_all_np;
+    pthread_suspend_np;
+    pthread_switch_add_np;
+    pthread_switch_delete_np;
+    pthread_testcancel;
+    pthread_timedjoin_np;
+    pthread_yield;
+    sched_yield;
+    sem_close;
+    sem_destroy;
+    sem_getvalue;
+    sem_init;
+    sem_open;
+    sem_post;
+    sem_timedwait;
+    sem_trywait;
+    sem_unlink;
+    sem_wait;
+
+       /* termios */
+    cfgetispeed;
+    cfgetospeed;
+    cfmakeraw;
+    cfsetispeed;
+    cfsetospeed;
+    cfsetspeed;
+    tcdrain;
+    tcflow;
+    tcflush;
+    tcgetattr;
+    tcgetpgrp;
+    tcgetsid;
+    tcsendbreak;
+    tcsetattr;
+    tcsetpgrp;
+
+       /* utmp(x) */
+    endutent;
+    endutxent;
+    getlastlogx;
+    getutent;
+    getutmp;
+    getutmpx;
+    getutxent;
+    getutxid;
+    getutxline;
+    pututxline;
+    setutent;
+    setutxdb;
+    setutxent;
+    updlastlogx;
+    updwtmpx;
+    utmpname;
+    utmpxname;
+
+       /* normal functions */
     __assert;
-    __fpclassifyd;
-    __fpclassifyf;
-    __fpclassifyl;
-    __isinf;
-    __isinff;
-    __isinfl;
-    __isnan;
-    __isnanf;
-    __tls_get_addr;
+    __diagassert;
     _getprogname;
-    _init_tls;
     alarm;
     alphasort;
     arc4random;
@@ -19,16 +178,6 @@ DF402.0 {
     arc4random_stir;
     arc4random_uniform;
     basename;
-    build_phdr_info;
-    cb_child;
-    cb_parent;
-    cb_prepare;
-    cfgetispeed;
-    cfgetospeed;
-    cfmakeraw;
-    cfsetispeed;
-    cfsetospeed;
-    cfsetspeed;
     cgetcap;
     cgetclose;
     cgetent;
@@ -66,8 +215,6 @@ DF402.0 {
     endpwent;
     endttyent;
     endusershell;
-    endutent;
-    endutxent;
     endvfsent;
     erand48;
     err;
@@ -87,11 +234,12 @@ DF402.0 {
     fdlopen;
     fdopendir;
     fflagstostr;
+    finite;
+    finitef;
     fmtcheck;
     fmtmsg;
     fnmatch;
     frexp;
-    fstatvfs;
     ftok;
     fts_children;
     fts_close;
@@ -102,10 +250,8 @@ DF402.0 {
     fts_set;
     fts_set_clientptr;
     ftw;
-    get_mcontext;
     getbootfile;
     getbsize;
-    getcontext;
     getcwd;
     getdevpath;
     getdiskbyname;
@@ -123,7 +269,6 @@ DF402.0 {
     getgrnam_r;
     getgrouplist;
     gethostname;
-    getlastlogx;
     getloadavg;
     getlogin;
     getlogin_r;
@@ -146,15 +291,9 @@ DF402.0 {
     getttyent;
     getttynam;
     getusershell;
-    getutent;
-    getutmp;
-    getutmpx;
-    getutxent;
-    getutxid;
-    getutxline;
     getvfsbyname;
+    getvfsbytype;
     getvfsent;
-    getvfsstat;
     glob;
     globfree;
     group_from_gid;
@@ -167,23 +306,19 @@ DF402.0 {
     isnanf;
     isnettty;
     jrand48;
-    lastlogx_db;
     lcong48;
     ldexp;
-    libc_dlopen;
     lockf;
     longjmperror;
     lrand48;
     modf;
     mrand48;
-    msgget;
-    msgrcv;
-    msgsnd;
     new_getvfsbyname;
     nftw;
     nice;
     nlist;
     nrand48;
+    ntp_gettime;
     opendir;
     openlog;
     pause;
@@ -213,125 +348,6 @@ DF402.0 {
     posix_spawnp;
     psiginfo;
     psignal;
-    pthread_atfork;
-    pthread_attr_destroy;
-    pthread_attr_get_np;
-    pthread_attr_getdetachstate;
-    pthread_attr_getguardsize;
-    pthread_attr_getinheritsched;
-    pthread_attr_getschedparam;
-    pthread_attr_getschedpolicy;
-    pthread_attr_getscope;
-    pthread_attr_getstack;
-    pthread_attr_getstackaddr;
-    pthread_attr_getstacksize;
-    pthread_attr_init;
-    pthread_attr_setcreatesuspend_np;
-    pthread_attr_setdetachstate;
-    pthread_attr_setguardsize;
-    pthread_attr_setinheritsched;
-    pthread_attr_setschedparam;
-    pthread_attr_setschedpolicy;
-    pthread_attr_setscope;
-    pthread_attr_setstack;
-    pthread_attr_setstackaddr;
-    pthread_attr_setstacksize;
-    pthread_barrier_destroy;
-    pthread_barrier_init;
-    pthread_barrier_wait;
-    pthread_barrierattr_destroy;
-    pthread_barrierattr_getpshared;
-    pthread_barrierattr_init;
-    pthread_barrierattr_setpshared;
-    pthread_cancel;
-    pthread_cleanup_pop;
-    pthread_cleanup_push;
-    pthread_cond_broadcast;
-    pthread_cond_destroy;
-    pthread_cond_init;
-    pthread_cond_signal;
-    pthread_cond_timedwait;
-    pthread_cond_wait;
-    pthread_condattr_destroy;
-    pthread_condattr_getclock;
-    pthread_condattr_getpshared;
-    pthread_condattr_init;
-    pthread_condattr_setclock;
-    pthread_condattr_setpshared;
-    pthread_detach;
-    pthread_equal;
-    pthread_exit;
-    pthread_getconcurrency;
-    pthread_getprio;
-    pthread_getschedparam;
-    pthread_getspecific;
-    pthread_init_early;
-    pthread_join;
-    pthread_key_create;
-    pthread_key_delete;
-    pthread_kill;
-    pthread_main_np;
-    pthread_multi_np;
-    pthread_mutex_destroy;
-    pthread_mutex_getprioceiling;
-    pthread_mutex_init;
-    pthread_mutex_lock;
-    pthread_mutex_setprioceiling;
-    pthread_mutex_timedlock;
-    pthread_mutex_trylock;
-    pthread_mutex_unlock;
-    pthread_mutexattr_destroy;
-    pthread_mutexattr_getkind_np;
-    pthread_mutexattr_getprioceiling;
-    pthread_mutexattr_getprotocol;
-    pthread_mutexattr_getpshared;
-    pthread_mutexattr_gettype;
-    pthread_mutexattr_init;
-    pthread_mutexattr_setkind_np;
-    pthread_mutexattr_setprioceiling;
-    pthread_mutexattr_setprotocol;
-    pthread_mutexattr_setpshared;
-    pthread_mutexattr_settype;
-    pthread_once;
-    pthread_resume_all_np;
-    pthread_resume_np;
-    pthread_rwlock_destroy;
-    pthread_rwlock_init;
-    pthread_rwlock_rdlock;
-    pthread_rwlock_timedrdlock;
-    pthread_rwlock_timedwrlock;
-    pthread_rwlock_tryrdlock;
-    pthread_rwlock_trywrlock;
-    pthread_rwlock_unlock;
-    pthread_rwlock_wrlock;
-    pthread_rwlockattr_destroy;
-    pthread_rwlockattr_getpshared;
-    pthread_rwlockattr_init;
-    pthread_rwlockattr_setpshared;
-    pthread_self;
-    pthread_set_name_np;
-    pthread_setcancelstate;
-    pthread_setcanceltype;
-    pthread_setconcurrency;
-    pthread_setprio;
-    pthread_setschedparam;
-    pthread_setspecific;
-    pthread_sigmask;
-    pthread_single_np;
-    pthread_spin_destroy;
-    pthread_spin_init;
-    pthread_spin_lock;
-    pthread_spin_trylock;
-    pthread_spin_unlock;
-    pthread_suspend_all_np;
-    pthread_suspend_np;
-    pthread_switch_add_np;
-    pthread_switch_delete_np;
-    pthread_testcancel;
-    pthread_timedjoin_np;
-    pthread_yield;
-    pututxline;
-    pwdb_versions;
     raise;
     readdir;
     readdir_r;
@@ -340,20 +356,6 @@ DF402.0 {
     scandir;
     seed48;
     seekdir;
-    sem_close;
-    sem_destroy;
-    sem_getvalue;
-    sem_init;
-    sem_open;
-    sem_post;
-    sem_timedwait;
-    sem_trywait;
-    sem_unlink;
-    sem_wait;
-    semctl;
-    semget;
-    semop;
-    set_mcontext;
     setcontext;
     setdomainname;
     setfsent;
@@ -370,9 +372,6 @@ DF402.0 {
     setpwent;
     setttyent;
     setusershell;
-    setutent;
-    setutxdb;
-    setutxent;
     setvfsent;
     shm_open;
     shm_unlink;
@@ -383,13 +382,13 @@ DF402.0 {
     siginterrupt;
     sigismember;
     signal;
+    sigwait;
     sl_add;
     sl_find;
     sl_free;
     sl_init;
     sleep;
     srand48;
-    statvfs;
     strnvis;
     strtofflags;
     strunvis;
@@ -407,19 +406,9 @@ DF402.0 {
     sysctlbyname;
     sysctlnametomib;
     syslog;
-    tcdrain;
-    tcflow;
-    tcflush;
-    tcgetattr;
-    tcgetpgrp;
-    tcgetsid;
-    tcsendbreak;
-    tcsetattr;
-    tcsetpgrp;
     telldir;
     time;
     times;
-    timezone;
     ttyname;
     ttyname_r;
     ttyslot;
@@ -427,13 +416,9 @@ DF402.0 {
     ulimit;
     uname;
     unvis;
-    updlastlogx;
-    updwtmpx;
     user_from_uid;
     usleep;
     utime;
-    utmpname;
-    utmpxname;
     valloc;
     verr;
     verrc;
@@ -456,47 +441,7 @@ DF402.0 {
 };
 
 DFprivate_1.0 {
-    ___getcwd;
-    ___libc_tls_get_addr;
-    __aout_fdnlist;
-    __diagassert;
-    __elf_fdnlist;
-    __elf_phdr_match_addr;
-    __fdnlist;
-    __fdopendir2;
-    __fmtcheck;
-    __getcwd;
-    __getgroupmembership;
-    __gr_match_entry;
-    __gr_parse_entry;
-    __libc_allocate_tls;
-    __libc_call_init;
-    __libc_free_tls;
-    __libc_tls_get_addr;
-    __libc_tls_get_addr_tcb;
-    __opendir2;
-    __pause;
-    __progname;
-    __pw_match_entry;
-    __pw_parse_entry;
-    __pw_scan;
-    __sleep;
-    __tcdrain;
-    __tls_get_addr_tcb;
-    __usleep;
-    __wait;
-    __waitpid;
-    _DYNAMIC;
-    _atomic_lock;
-    _atomic_lock_stub;
-    _dorand48;
-    _err;
-    _get_mcontext;
-    _getcontext;
-    _libc_allocate_tls;
-    _libc_init_tls;
-    _logname_valid;
-    _once;
+       /* pthread stubs */
     _pthread_atfork;
     _pthread_attr_destroy;
     _pthread_attr_get_np;
@@ -615,38 +560,86 @@ DFprivate_1.0 {
     _pthread_testcancel;
     _pthread_timedjoin_np;
     _pthread_yield;
-    _rand48_add;
-    _rand48_mult;
-    _rand48_seed;
+    _sched_yield;
+    _sem_close;
+    _sem_destroy;
+    _sem_getvalue;
+    _sem_init;
+    _sem_open;
+    _sem_post;
+    _sem_timedwait;
+    _sem_trywait;
+    _sem_unlink;
+    _sem_wait;
+
+       /* spinlock stubs */
+    _atomic_lock;
+    _spinlock;
+    _spinlock_debug;
+    _spintrylock;
+    _spinunlock;
+
+       /* thread init stubs */
+    _thread_autoinit_dummy_decl;
+    _thread_init;
+
+       /* math bridge */
+    __fpclassifyd;
+    __fpclassifyf;
+    __fpclassifyl;
+    __isfinite;
+    __isfinitef;
+    __isinf;
+    __isinff;
+    __isinfl;
+    __isnan;
+    __isnanf;
+    __isnormal;
+    __isnormalf;
+    __signbit;
+    __signbitf;
+
+       /* thread locale storage */
+    __libc_allocate_tls;
+    __libc_call_init;
+    __libc_free_tls;
+    __libc_tls_get_addr;
+    __libc_tls_get_addr_tcb;
+    __tls_get_addr;
+    __tls_get_addr_tcb;
+    _init_tls;
+    _libc_init_tls;
+    _rtld_allocate_tls;
+    _rtld_call_init;
+    _rtld_free_tls;
+
+       /* remaining private functions */
+    __elf_phdr_match_addr;
+    __fdnlist;
+    __fdopendir2;
+    __isthreaded;
+    __opendir2;
+    __pause;
+    __progname;
+    __pw_scan;
+    __sleep;
+    __tcdrain;
+    __usleep;
+    __wait;
+    __waitpid;
+    _err;
+    _libc_allocate_tls;
     _readdir_unlocked;
     _reclaim_telldir;
     _rtld_addr_phdr;
-    _rtld_allocate_tls;
-    _rtld_call_init;
     _rtld_error;
-    _rtld_free_tls;
     _rtld_get_stack_prot;
     _seekdir;
-    _set_mcontext;
     _setcontext;
-    _sigintr;
     _sigwait;
     _sleep;
-    _spinlock;
-    _spinlock_debug;
-    _spinlock_debug_stub;
-    _spinlock_stub;
-    _spintrylock;
-    _spintrylock_stub;
-    _spinunlock;
-    _spinunlock_stub;
     _swapcontext;
-    _thread_autoinit_dummy_decl;
-    _thread_autoinit_dummy_decl_stub;
-    _thread_init;
-    _thread_init_stub;
     _updwtmpx;
-    _use_only_yp;
     _usleep;
     _wait;
     _waitpid;
index a864f7f..db3acb1 100644 (file)
@@ -27,6 +27,7 @@ DF404.0 {
     time2posix;
     timelocal;
     timeoff;
+    timezone;
     tzname;
     tzset;
     tzsetwall;
index ba8bfc5..41a8fb9 100644 (file)
@@ -54,5 +54,4 @@ DFprivate_1.0 {
     _hash_insert;
     _hash_lookup;
     _hash_remove;
-    _semget;
 };
index ec65b72..13936f1 100644 (file)
@@ -2,15 +2,11 @@ DF404.0 {
        /* PSEUDO syscalls */
        _exit;
 
-       __flt_rounds;
-       __infinity;
-       __isfinitel;
-       __isnanl;
-       __isnormall;
-       __nan;
        _setjmp;
        _longjmp;
        .mcount;
+       get_mcontext;
+       getcontext;
        fabs;
        fpgetmask;
        fpgetprec;
@@ -23,6 +19,7 @@ DF404.0 {
        rfork_thread;
        setjmp;
        longjmp;
+       set_mcontext;
        sigsetjmp;
        siglongjmp;
        amd64_get_fsbase;
@@ -41,11 +38,21 @@ DFprivate_1.0 {
        __sys_getlogin;
 
        ___longjmp;
+       __flt_rounds;
+       __infinity;
+       __isfinitel;
+       __isnanl;
+       __isnormall;
        __longjmp;
+       __nan;
        __siglongjmp;
+       _DYNAMIC;
        _brk;
        _end;
+       _get_mcontext;
+       _getcontext;
        _makecontext;
+       _set_mcontext;
        .curbrk;
        .minbrk;
        .cerror;