From e80e2f61261741516902b44b13202d3f7673977e Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Fri, 16 Apr 2010 15:34:26 +0300 Subject: Revert "nptl: mark symbols with libc forwarder hidden" This reverts most of commit 1610762362e651f86ca284ac59a1d7ec88034e4e. Marking the symbols hidden is wrong, because libc accesses the pthreads internal symbols for internal locking. Signed-off-by: Timo Teras Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c | 1 - libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c | 1 - libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c | 1 - libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c | 1 - libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c | 1 - libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c | 1 - libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c | 1 - 7 files changed, 7 deletions(-) (limited to 'libpthread/nptl/sysdeps/pthread') diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c index 04cfc3a72..5e7465774 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c @@ -28,7 +28,6 @@ int -attribute_hidden __pthread_cond_broadcast ( pthread_cond_t *cond) { diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c index aa6d108ed..d66f3edbb 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c @@ -28,7 +28,6 @@ int -attribute_hidden __pthread_cond_signal ( pthread_cond_t *cond) { diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c index 88aa0dbf1..4aaf5df75 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c @@ -39,7 +39,6 @@ struct _condvar_cleanup_buffer }; int -attribute_hidden __pthread_cond_timedwait ( pthread_cond_t *cond, pthread_mutex_t *mutex, diff --git a/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c b/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c index ad04f151d..2fac02d83 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c @@ -89,7 +89,6 @@ __condvar_cleanup (void *arg) int -attribute_hidden __pthread_cond_wait ( pthread_cond_t *cond, pthread_mutex_t *mutex) diff --git a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c index af2adb395..dc00f2a08 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c @@ -26,7 +26,6 @@ /* Acquire read lock for RWLOCK. */ int -attribute_hidden __pthread_rwlock_rdlock ( pthread_rwlock_t *rwlock) { diff --git a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c index 510395e18..a7ef71a11 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c @@ -25,7 +25,6 @@ /* Unlock RWLOCK. */ int -attribute_hidden __pthread_rwlock_unlock (pthread_rwlock_t *rwlock) { lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); diff --git a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c index 63eed0bac..81e6daa56 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c @@ -26,7 +26,6 @@ /* Acquire write lock for RWLOCK. */ int -attribute_hidden __pthread_rwlock_wrlock ( pthread_rwlock_t *rwlock) { -- cgit v1.2.3