Date: Mon, 13 Mar 2006 00:59:53 +0000 (UTC) From: Daniel Eischen <deischen@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread Makefile pthread.map src/lib/libpthread/sys thr_error.c src/lib/libpthread/thread thr_accept.c thr_aio_suspend.c thr_atfork.c thr_attr_destroy.c thr_attr_get_np.c thr_attr_getdetachstate.c thr_attr_getguardsize.c ... Message-ID: <200603130059.k2D0xrMh063335@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
deischen 2006-03-13 00:59:53 UTC FreeBSD src repository Modified files: lib/libpthread Makefile pthread.map lib/libpthread/sys thr_error.c lib/libpthread/thread thr_accept.c thr_aio_suspend.c thr_atfork.c thr_attr_destroy.c thr_attr_get_np.c thr_attr_getdetachstate.c thr_attr_getguardsize.c thr_attr_getinheritsched.c thr_attr_getschedparam.c thr_attr_getschedpolicy.c thr_attr_getscope.c thr_attr_getstack.c thr_attr_getstackaddr.c thr_attr_getstacksize.c thr_attr_init.c thr_attr_setcreatesuspend_np.c thr_attr_setdetachstate.c thr_attr_setguardsize.c thr_attr_setinheritsched.c thr_attr_setschedparam.c thr_attr_setschedpolicy.c thr_attr_setscope.c thr_attr_setstack.c thr_attr_setstackaddr.c thr_attr_setstacksize.c thr_barrier.c thr_barrierattr.c thr_cancel.c thr_clean.c thr_close.c thr_concurrency.c thr_cond.c thr_condattr_destroy.c thr_condattr_init.c thr_connect.c thr_creat.c thr_create.c thr_detach.c thr_equal.c thr_execve.c thr_exit.c thr_fcntl.c thr_fork.c thr_fsync.c thr_getprio.c thr_getschedparam.c thr_info.c thr_init.c thr_join.c thr_kill.c thr_main_np.c thr_mattr_init.c thr_mattr_kind_np.c thr_msync.c thr_multi_np.c thr_mutex.c thr_mutex_prioceiling.c thr_mutex_protocol.c thr_mutexattr_destroy.c thr_nanosleep.c thr_once.c thr_open.c thr_pause.c thr_poll.c thr_private.h thr_pselect.c thr_pspinlock.c thr_raise.c thr_read.c thr_readv.c thr_resume_np.c thr_rwlock.c thr_rwlockattr.c thr_select.c thr_self.c thr_sem.c thr_setprio.c thr_setschedparam.c thr_sigaction.c thr_sigaltstack.c thr_sigmask.c thr_sigpending.c thr_sigprocmask.c thr_sigsuspend.c thr_sigwait.c thr_single_np.c thr_sleep.c thr_spec.c thr_spinlock.c thr_suspend_np.c thr_switch_np.c thr_symbols.c thr_system.c thr_tcdrain.c thr_vfork.c thr_wait.c thr_wait4.c thr_waitpid.c thr_write.c thr_writev.c thr_yield.c Log: Add compatibility symbol maps. libpthread (.so.1 and .so.2) used LIBTHREAD_1_0 as its version definition, but now needs to define its symbols in the same namespace used by libc. The compatibility hooks allows you to use libraries and binaries built and linked to libpthread before libc was built with symbol versioning. The shims can be removed if libpthread is given a version bump. Reviewed by: davidxu Revision Changes Path 1.55 +4 -1 src/lib/libpthread/Makefile 1.17 +380 -14 src/lib/libpthread/pthread.map 1.9 +2 -0 src/lib/libpthread/sys/thr_error.c 1.3 +3 -0 src/lib/libpthread/thread/thr_accept.c 1.9 +3 -0 src/lib/libpthread/thread/thr_aio_suspend.c 1.2 +3 -0 src/lib/libpthread/thread/thr_atfork.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_destroy.c 1.5 +3 -0 src/lib/libpthread/thread/thr_attr_get_np.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getdetachstate.c 1.3 +3 -0 src/lib/libpthread/thread/thr_attr_getguardsize.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getinheritsched.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getschedparam.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getschedpolicy.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getscope.c 1.2 +3 -0 src/lib/libpthread/thread/thr_attr_getstack.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getstackaddr.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_getstacksize.c 1.11 +3 -0 src/lib/libpthread/thread/thr_attr_init.c 1.9 +3 -0 src/lib/libpthread/thread/thr_attr_setcreatesuspend_np.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_setdetachstate.c 1.7 +3 -0 src/lib/libpthread/thread/thr_attr_setguardsize.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_setinheritsched.c 1.11 +3 -0 src/lib/libpthread/thread/thr_attr_setschedparam.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_setschedpolicy.c 1.11 +3 -0 src/lib/libpthread/thread/thr_attr_setscope.c 1.2 +3 -0 src/lib/libpthread/thread/thr_attr_setstack.c 1.8 +3 -0 src/lib/libpthread/thread/thr_attr_setstackaddr.c 1.9 +3 -0 src/lib/libpthread/thread/thr_attr_setstacksize.c 1.2 +7 -0 src/lib/libpthread/thread/thr_barrier.c 1.2 +9 -0 src/lib/libpthread/thread/thr_barrierattr.c 1.33 +9 -0 src/lib/libpthread/thread/thr_cancel.c 1.10 +5 -0 src/lib/libpthread/thread/thr_clean.c 1.18 +3 -0 src/lib/libpthread/thread/thr_close.c 1.10 +5 -0 src/lib/libpthread/thread/thr_concurrency.c 1.54 +15 -0 src/lib/libpthread/thread/thr_cond.c 1.8 +3 -0 src/lib/libpthread/thread/thr_condattr_destroy.c 1.9 +3 -0 src/lib/libpthread/thread/thr_condattr_init.c 1.3 +3 -0 src/lib/libpthread/thread/thr_connect.c 1.9 +3 -0 src/lib/libpthread/thread/thr_creat.c 1.60 +3 -0 src/lib/libpthread/thread/thr_create.c 1.24 +3 -0 src/lib/libpthread/thread/thr_detach.c 1.7 +3 -0 src/lib/libpthread/thread/thr_equal.c 1.4 +3 -0 src/lib/libpthread/thread/thr_execve.c 1.40 +3 -0 src/lib/libpthread/thread/thr_exit.c 1.20 +3 -0 src/lib/libpthread/thread/thr_fcntl.c 1.37 +3 -0 src/lib/libpthread/thread/thr_fork.c 1.15 +3 -0 src/lib/libpthread/thread/thr_fsync.c 1.10 +3 -0 src/lib/libpthread/thread/thr_getprio.c 1.11 +3 -0 src/lib/libpthread/thread/thr_getschedparam.c 1.28 +3 -0 src/lib/libpthread/thread/thr_info.c 1.74 +5 -0 src/lib/libpthread/thread/thr_init.c 1.29 +3 -0 src/lib/libpthread/thread/thr_join.c 1.17 +3 -0 src/lib/libpthread/thread/thr_kill.c 1.6 +3 -0 src/lib/libpthread/thread/thr_main_np.c 1.10 +3 -0 src/lib/libpthread/thread/thr_mattr_init.c 1.10 +9 -0 src/lib/libpthread/thread/thr_mattr_kind_np.c 1.10 +3 -0 src/lib/libpthread/thread/thr_msync.c 1.8 +5 -0 src/lib/libpthread/thread/thr_multi_np.c 1.50 +17 -0 src/lib/libpthread/thread/thr_mutex.c 1.9 +9 -0 src/lib/libpthread/thread/thr_mutex_prioceiling.c 1.8 +5 -0 src/lib/libpthread/thread/thr_mutex_protocol.c 1.9 +3 -0 src/lib/libpthread/thread/thr_mutexattr_destroy.c 1.26 +4 -0 src/lib/libpthread/thread/thr_nanosleep.c 1.11 +3 -0 src/lib/libpthread/thread/thr_once.c 1.17 +3 -0 src/lib/libpthread/thread/thr_open.c 1.9 +3 -0 src/lib/libpthread/thread/thr_pause.c 1.17 +3 -0 src/lib/libpthread/thread/thr_poll.c 1.125 +34 -0 src/lib/libpthread/thread/thr_private.h 1.6 +3 -0 src/lib/libpthread/thread/thr_pselect.c 1.4 +11 -0 src/lib/libpthread/thread/thr_pspinlock.c 1.2 +3 -0 src/lib/libpthread/thread/thr_raise.c 1.19 +3 -0 src/lib/libpthread/thread/thr_read.c 1.20 +3 -0 src/lib/libpthread/thread/thr_readv.c 1.19 +5 -0 src/lib/libpthread/thread/thr_resume_np.c 1.15 +19 -0 src/lib/libpthread/thread/thr_rwlock.c 1.9 +9 -0 src/lib/libpthread/thread/thr_rwlockattr.c 1.27 +3 -0 src/lib/libpthread/thread/thr_select.c 1.8 +3 -0 src/lib/libpthread/thread/thr_self.c 1.18 +8 -0 src/lib/libpthread/thread/thr_sem.c 1.11 +3 -0 src/lib/libpthread/thread/thr_setprio.c 1.14 +3 -0 src/lib/libpthread/thread/thr_setschedparam.c 1.23 +3 -0 src/lib/libpthread/thread/thr_sigaction.c 1.3 +3 -0 src/lib/libpthread/thread/thr_sigaltstack.c 1.20 +3 -0 src/lib/libpthread/thread/thr_sigmask.c 1.17 +3 -0 src/lib/libpthread/thread/thr_sigpending.c 1.18 +3 -0 src/lib/libpthread/thread/thr_sigprocmask.c 1.28 +4 -0 src/lib/libpthread/thread/thr_sigsuspend.c 1.36 +10 -0 src/lib/libpthread/thread/thr_sigwait.c 1.7 +5 -0 src/lib/libpthread/thread/thr_single_np.c 1.10 +5 -0 src/lib/libpthread/thread/thr_sleep.c 1.23 +17 -1 src/lib/libpthread/thread/thr_spec.c 1.24 +4 -0 src/lib/libpthread/thread/thr_spinlock.c 1.20 +5 -0 src/lib/libpthread/thread/thr_suspend_np.c 1.8 +4 -0 src/lib/libpthread/thread/thr_switch_np.c 1.3 +18 -0 src/lib/libpthread/thread/thr_symbols.c 1.9 +3 -0 src/lib/libpthread/thread/thr_system.c 1.9 +3 -0 src/lib/libpthread/thread/thr_tcdrain.c 1.4 +6 -1 src/lib/libpthread/thread/thr_vfork.c 1.9 +3 -0 src/lib/libpthread/thread/thr_wait.c 1.20 +3 -0 src/lib/libpthread/thread/thr_wait4.c 1.9 +3 -0 src/lib/libpthread/thread/thr_waitpid.c 1.25 +3 -0 src/lib/libpthread/thread/thr_write.c 1.25 +3 -0 src/lib/libpthread/thread/thr_writev.c 1.16 +5 -0 src/lib/libpthread/thread/thr_yield.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603130059.k2D0xrMh063335>