> Date: Sun, 11 May 2008 23:11:29 -0700
> From: Scott Rotondo <scott.rotondo at sun.com>
> Subject: Re: PSARC/2008/309 - expunge synonyms.h
> To: "Roger A. Faulkner" <Roger.Faulkner at sun.com>
> Cc: psarc-ext at sac.sfbay.sun.com, darrin.johnson at sun.com, rod.evans at
> sun.com,
bart.smaalders at sun.com
>
> Roger A. Faulkner wrote:
> >
> > However, a search of all of the executables and libraries
> > not delivered from OS/NET and also all the executables and
> > libraries in /usr/dist reveals that /lib/libm.so.2, some
> > older versions of the Studio compiler/debugger components,
> > and some ancient programs in /usr/dist call 55 of the
> > SUNWprivate symbols. So these 55 must be retained,
> > hopefully to be removed in some future update of Solaris.
>
> If only to satisfy voyeuristic curiosity, could you identify the 55 symbols?
>
> Thanks,
> Scott
These are the ones, from the SUNWprivate_1.1 section of
usr/src/lib/libc/port/mapfile-vers :
# The following functions should not be exported from libc,
# but /lib/libm.so.2, some older versions of the Studio
# compiler/debugger components, and some ancient programs
# found in /usr/dist reference them. When we no longer
# care about these old and broken binary objects, these
# symbols should be deleted.
_brk = NODYNSORT;
_cond_broadcast = NODYNSORT;
_cond_init = NODYNSORT;
_cond_signal = NODYNSORT;
_cond_wait = NODYNSORT;
_ecvt = NODYNSORT;
_fcvt = NODYNSORT;
_getc_unlocked = NODYNSORT;
_llseek = NODYNSORT;
_pthread_attr_getdetachstate = NODYNSORT;
_pthread_attr_getinheritsched = NODYNSORT;
_pthread_attr_getschedparam = NODYNSORT;
_pthread_attr_getschedpolicy = NODYNSORT;
_pthread_attr_getscope = NODYNSORT;
_pthread_attr_getstackaddr = NODYNSORT;
_pthread_attr_getstacksize = NODYNSORT;
_pthread_attr_init = NODYNSORT;
_pthread_condattr_getpshared = NODYNSORT;
_pthread_condattr_init = NODYNSORT;
_pthread_cond_init = NODYNSORT;
_pthread_create = NODYNSORT;
_pthread_getschedparam = NODYNSORT;
_pthread_join = NODYNSORT;
_pthread_key_create = NODYNSORT;
_pthread_mutexattr_getprioceiling = NODYNSORT;
_pthread_mutexattr_getprotocol = NODYNSORT;
_pthread_mutexattr_getpshared = NODYNSORT;
_pthread_mutexattr_init = NODYNSORT;
_pthread_mutex_getprioceiling = NODYNSORT;
_pthread_mutex_init = NODYNSORT;
_pthread_sigmask = NODYNSORT;
_rwlock_init = NODYNSORT;
_rw_rdlock = NODYNSORT;
_rw_unlock = NODYNSORT;
_rw_wrlock = NODYNSORT;
_sbrk_unlocked = NODYNSORT;
_select = NODYNSORT;
_sema_init = NODYNSORT;
_sema_post = NODYNSORT;
_sema_trywait = NODYNSORT;
_sema_wait = NODYNSORT;
_sysfs = NODYNSORT;
_thr_create = NODYNSORT;
_thr_exit = NODYNSORT;
_thr_getprio = NODYNSORT;
_thr_getspecific = NODYNSORT;
_thr_join = NODYNSORT;
_thr_keycreate = NODYNSORT;
_thr_kill = NODYNSORT;
_thr_main = NODYNSORT;
_thr_self = NODYNSORT;
_thr_setspecific = NODYNSORT;
_thr_sigsetmask = NODYNSORT;
_thr_stksegment = NODYNSORT;
_ungetc_unlocked = NODYNSORT;