about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/dlfcn.h3
-rw-r--r--nptl/ChangeLog31
-rw-r--r--nptl/pthread_barrier_wait.c (renamed from nptl/sysdeps/pthread/pthread_barrier_wait.c)0
-rw-r--r--nptl/pthread_cond_broadcast.c (renamed from nptl/sysdeps/pthread/pthread_cond_broadcast.c)0
-rw-r--r--nptl/pthread_cond_signal.c (renamed from nptl/sysdeps/pthread/pthread_cond_signal.c)0
-rw-r--r--nptl/pthread_cond_timedwait.c (renamed from nptl/sysdeps/pthread/pthread_cond_timedwait.c)0
-rw-r--r--nptl/pthread_cond_wait.c (renamed from nptl/sysdeps/pthread/pthread_cond_wait.c)0
-rw-r--r--nptl/pthread_getcpuclockid.c (renamed from nptl/sysdeps/pthread/pthread_getcpuclockid.c)0
-rw-r--r--nptl/pthread_once.c (renamed from nptl/sysdeps/pthread/pthread_once.c)0
-rw-r--r--nptl/pthread_rwlock_rdlock.c (renamed from nptl/sysdeps/pthread/pthread_rwlock_rdlock.c)0
-rw-r--r--nptl/pthread_rwlock_timedrdlock.c (renamed from nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c)0
-rw-r--r--nptl/pthread_rwlock_timedwrlock.c (renamed from nptl/sysdeps/pthread/pthread_rwlock_timedwrlock.c)0
-rw-r--r--nptl/pthread_rwlock_unlock.c (renamed from nptl/sysdeps/pthread/pthread_rwlock_unlock.c)0
-rw-r--r--nptl/pthread_rwlock_wrlock.c (renamed from nptl/sysdeps/pthread/pthread_rwlock_wrlock.c)0
-rw-r--r--nptl/pthread_spin_destroy.c (renamed from nptl/sysdeps/pthread/pthread_spin_destroy.c)0
-rw-r--r--nptl/pthread_spin_init.c (renamed from nptl/sysdeps/pthread/pthread_spin_init.c)0
-rw-r--r--nptl/pthread_spin_unlock.c (renamed from nptl/sysdeps/pthread/pthread_spin_unlock.c)0
17 files changed, 34 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 9144dd2f3f..79c8f7d31b 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -47,6 +47,9 @@ libc_hidden_proto (_dl_addr)
 
 /* Close an object previously opened by _dl_open.  */
 extern void _dl_close (void *map) attribute_hidden;
+/* Same as above, but without locking and safety checks for user
+   provided map arguments.  */
+extern void _dl_close_worker (struct link_map *map) attribute_hidden;
 
 /* Look up NAME in shared object HANDLE (which may be RTLD_DEFAULT or
    RTLD_NEXT).  WHO is the calling function, for RTLD_NEXT.  Returns
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 1b6aa74b31..2b79825485 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,36 @@
 2006-10-27  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/pthread/pthread_barrier_wait.c: Move to...
+	* pthread_barrier_wait.c: ...here.
+	* sysdeps/pthread/pthread_cond_broadcast.c: Move to...
+	* pthread_cond_broadcast.c: ...here.
+	* sysdeps/pthread/pthread_cond_signal.c: Move to...
+	* pthread_cond_signal.c: ...here.
+	* sysdeps/pthread/pthread_cond_timedwait.c: Move to...
+	* pthread_cond_timedwait.c: ...here.
+	* sysdeps/pthread/pthread_cond_wait.c: Move to...
+	* pthread_cond_wait.c: ...here.
+	* sysdeps/pthread/pthread_once.c: Move to...
+	* pthread_once.c: ...here.
+	* sysdeps/pthread/pthread_rwlock_rdlock.c: Move to...
+	* pthread_rwlock_rdlock.c: ...here.
+	* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Move to...
+	* pthread_rwlock_timedrdlock.c: ...here.
+	* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Move to...
+	* pthread_rwlock_timedwrlock.c: ...here.
+	* sysdeps/pthread/pthread_rwlock_unlock.c: Move to...
+	* pthread_rwlock_unlock.c: ...here.
+	* sysdeps/pthread/pthread_rwlock_wrlock.c: Move to...
+	* pthread_rwlock_wrlock.c: ...here.
+	* sysdeps/pthread/pthread_spin_destroy.c: Move to...
+	* pthread_spin_destroy.c: ...here.
+	* sysdeps/pthread/pthread_spin_init.c: Move to...
+	* pthread_spin_init.c: ...here.
+	* sysdeps/pthread/pthread_spin_unlock.c: Move to...
+	* pthread_spin_unlock.c: ...here.
+	* sysdeps/pthread/pthread_getcpuclockid.c: Move to...
+	* pthread_getcpuclockid.c: ...here.
+
 	* init.c: USE_TLS support is now default.
 	* tst-tls5.h: Likewise.
 	* sysdeps/alpha/tls.h: Likewise.
diff --git a/nptl/sysdeps/pthread/pthread_barrier_wait.c b/nptl/pthread_barrier_wait.c
index c6b563f242..c6b563f242 100644
--- a/nptl/sysdeps/pthread/pthread_barrier_wait.c
+++ b/nptl/pthread_barrier_wait.c
diff --git a/nptl/sysdeps/pthread/pthread_cond_broadcast.c b/nptl/pthread_cond_broadcast.c
index 2b8b5460f4..2b8b5460f4 100644
--- a/nptl/sysdeps/pthread/pthread_cond_broadcast.c
+++ b/nptl/pthread_cond_broadcast.c
diff --git a/nptl/sysdeps/pthread/pthread_cond_signal.c b/nptl/pthread_cond_signal.c
index 5a9bbcad91..5a9bbcad91 100644
--- a/nptl/sysdeps/pthread/pthread_cond_signal.c
+++ b/nptl/pthread_cond_signal.c
diff --git a/nptl/sysdeps/pthread/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c
index fdbf43eae8..fdbf43eae8 100644
--- a/nptl/sysdeps/pthread/pthread_cond_timedwait.c
+++ b/nptl/pthread_cond_timedwait.c
diff --git a/nptl/sysdeps/pthread/pthread_cond_wait.c b/nptl/pthread_cond_wait.c
index f5f5cec5a8..f5f5cec5a8 100644
--- a/nptl/sysdeps/pthread/pthread_cond_wait.c
+++ b/nptl/pthread_cond_wait.c
diff --git a/nptl/sysdeps/pthread/pthread_getcpuclockid.c b/nptl/pthread_getcpuclockid.c
index 8506f94eb4..8506f94eb4 100644
--- a/nptl/sysdeps/pthread/pthread_getcpuclockid.c
+++ b/nptl/pthread_getcpuclockid.c
diff --git a/nptl/sysdeps/pthread/pthread_once.c b/nptl/pthread_once.c
index 9b2cef8645..9b2cef8645 100644
--- a/nptl/sysdeps/pthread/pthread_once.c
+++ b/nptl/pthread_once.c
diff --git a/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c b/nptl/pthread_rwlock_rdlock.c
index e225d7030d..e225d7030d 100644
--- a/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c
+++ b/nptl/pthread_rwlock_rdlock.c
diff --git a/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c b/nptl/pthread_rwlock_timedrdlock.c
index 80ea83a3dd..80ea83a3dd 100644
--- a/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c
+++ b/nptl/pthread_rwlock_timedrdlock.c
diff --git a/nptl/sysdeps/pthread/pthread_rwlock_timedwrlock.c b/nptl/pthread_rwlock_timedwrlock.c
index 97c0598f96..97c0598f96 100644
--- a/nptl/sysdeps/pthread/pthread_rwlock_timedwrlock.c
+++ b/nptl/pthread_rwlock_timedwrlock.c
diff --git a/nptl/sysdeps/pthread/pthread_rwlock_unlock.c b/nptl/pthread_rwlock_unlock.c
index 9cae8b6c22..9cae8b6c22 100644
--- a/nptl/sysdeps/pthread/pthread_rwlock_unlock.c
+++ b/nptl/pthread_rwlock_unlock.c
diff --git a/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c b/nptl/pthread_rwlock_wrlock.c
index 822aeed79c..822aeed79c 100644
--- a/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c
+++ b/nptl/pthread_rwlock_wrlock.c
diff --git a/nptl/sysdeps/pthread/pthread_spin_destroy.c b/nptl/pthread_spin_destroy.c
index 4d0109cf02..4d0109cf02 100644
--- a/nptl/sysdeps/pthread/pthread_spin_destroy.c
+++ b/nptl/pthread_spin_destroy.c
diff --git a/nptl/sysdeps/pthread/pthread_spin_init.c b/nptl/pthread_spin_init.c
index c2275085e8..c2275085e8 100644
--- a/nptl/sysdeps/pthread/pthread_spin_init.c
+++ b/nptl/pthread_spin_init.c
diff --git a/nptl/sysdeps/pthread/pthread_spin_unlock.c b/nptl/pthread_spin_unlock.c
index f97cadfbd0..f97cadfbd0 100644
--- a/nptl/sysdeps/pthread/pthread_spin_unlock.c
+++ b/nptl/pthread_spin_unlock.c