summaryrefslogtreecommitdiff
path: root/libpthread/nptl/pthread_create.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2010-04-16 15:34:26 +0300
committerAustin Foxley <austinf@cetoncorp.com>2010-04-16 10:11:16 -0700
commite80e2f61261741516902b44b13202d3f7673977e (patch)
tree7ac3b74cb7c564026e9d9b40d32041023fb4ef52 /libpthread/nptl/pthread_create.c
parent268cd8184f8daa106e4b20a8ee2c66410e6f9cbb (diff)
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 <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/pthread_create.c')
-rw-r--r--libpthread/nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/pthread_create.c b/libpthread/nptl/pthread_create.c
index 0825873af..8b53cb199 100644
--- a/libpthread/nptl/pthread_create.c
+++ b/libpthread/nptl/pthread_create.c
@@ -44,7 +44,7 @@ static td_thr_events_t __nptl_threads_events __attribute_used__;
static struct pthread *__nptl_last_event __attribute_used__;
/* Number of threads running. */
-unsigned int attribute_hidden __nptl_nthreads = 1;
+unsigned int __nptl_nthreads = 1;
/* Code to allocate and deallocate a stack. */