From eb0a3d0cab507fecefe390a340f74ab8e5cf7831 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 28 Oct 2006 05:15:26 +0000 Subject: [PATCH] * 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. --- include/dlfcn.h | 3 +++ nptl/ChangeLog | 31 ++++++++++++++++++++++ nptl/{sysdeps/pthread => }/pthread_barrier_wait.c | 0 .../{sysdeps/pthread => }/pthread_cond_broadcast.c | 0 nptl/{sysdeps/pthread => }/pthread_cond_signal.c | 0 .../{sysdeps/pthread => }/pthread_cond_timedwait.c | 0 nptl/{sysdeps/pthread => }/pthread_cond_wait.c | 0 nptl/{sysdeps/pthread => }/pthread_getcpuclockid.c | 0 nptl/{sysdeps/pthread => }/pthread_once.c | 0 nptl/{sysdeps/pthread => }/pthread_rwlock_rdlock.c | 0 .../pthread => }/pthread_rwlock_timedrdlock.c | 0 .../pthread => }/pthread_rwlock_timedwrlock.c | 0 nptl/{sysdeps/pthread => }/pthread_rwlock_unlock.c | 0 nptl/{sysdeps/pthread => }/pthread_rwlock_wrlock.c | 0 nptl/{sysdeps/pthread => }/pthread_spin_destroy.c | 0 nptl/{sysdeps/pthread => }/pthread_spin_init.c | 0 nptl/{sysdeps/pthread => }/pthread_spin_unlock.c | 0 17 files changed, 34 insertions(+) rename nptl/{sysdeps/pthread => }/pthread_barrier_wait.c (100%) rename nptl/{sysdeps/pthread => }/pthread_cond_broadcast.c (100%) rename nptl/{sysdeps/pthread => }/pthread_cond_signal.c (100%) rename nptl/{sysdeps/pthread => }/pthread_cond_timedwait.c (100%) rename nptl/{sysdeps/pthread => }/pthread_cond_wait.c (100%) rename nptl/{sysdeps/pthread => }/pthread_getcpuclockid.c (100%) rename nptl/{sysdeps/pthread => }/pthread_once.c (100%) rename nptl/{sysdeps/pthread => }/pthread_rwlock_rdlock.c (100%) rename nptl/{sysdeps/pthread => }/pthread_rwlock_timedrdlock.c (100%) rename nptl/{sysdeps/pthread => }/pthread_rwlock_timedwrlock.c (100%) rename nptl/{sysdeps/pthread => }/pthread_rwlock_unlock.c (100%) rename nptl/{sysdeps/pthread => }/pthread_rwlock_wrlock.c (100%) rename nptl/{sysdeps/pthread => }/pthread_spin_destroy.c (100%) rename nptl/{sysdeps/pthread => }/pthread_spin_init.c (100%) rename nptl/{sysdeps/pthread => }/pthread_spin_unlock.c (100%) diff --git a/include/dlfcn.h b/include/dlfcn.h index 9144dd2..79c8f7d 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 1b6aa74..2b79825 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,36 @@ 2006-10-27 Ulrich Drepper + * 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 similarity index 100% rename from nptl/sysdeps/pthread/pthread_barrier_wait.c rename to nptl/pthread_barrier_wait.c diff --git a/nptl/sysdeps/pthread/pthread_cond_broadcast.c b/nptl/pthread_cond_broadcast.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_cond_broadcast.c rename to nptl/pthread_cond_broadcast.c diff --git a/nptl/sysdeps/pthread/pthread_cond_signal.c b/nptl/pthread_cond_signal.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_cond_signal.c rename to nptl/pthread_cond_signal.c diff --git a/nptl/sysdeps/pthread/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_cond_timedwait.c rename to nptl/pthread_cond_timedwait.c diff --git a/nptl/sysdeps/pthread/pthread_cond_wait.c b/nptl/pthread_cond_wait.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_cond_wait.c rename to nptl/pthread_cond_wait.c diff --git a/nptl/sysdeps/pthread/pthread_getcpuclockid.c b/nptl/pthread_getcpuclockid.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_getcpuclockid.c rename to nptl/pthread_getcpuclockid.c diff --git a/nptl/sysdeps/pthread/pthread_once.c b/nptl/pthread_once.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_once.c rename to nptl/pthread_once.c diff --git a/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c b/nptl/pthread_rwlock_rdlock.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_rwlock_rdlock.c rename to nptl/pthread_rwlock_rdlock.c diff --git a/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c b/nptl/pthread_rwlock_timedrdlock.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c rename to nptl/pthread_rwlock_timedrdlock.c diff --git a/nptl/sysdeps/pthread/pthread_rwlock_timedwrlock.c b/nptl/pthread_rwlock_timedwrlock.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_rwlock_timedwrlock.c rename to nptl/pthread_rwlock_timedwrlock.c diff --git a/nptl/sysdeps/pthread/pthread_rwlock_unlock.c b/nptl/pthread_rwlock_unlock.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_rwlock_unlock.c rename to nptl/pthread_rwlock_unlock.c diff --git a/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c b/nptl/pthread_rwlock_wrlock.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_rwlock_wrlock.c rename to nptl/pthread_rwlock_wrlock.c diff --git a/nptl/sysdeps/pthread/pthread_spin_destroy.c b/nptl/pthread_spin_destroy.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_spin_destroy.c rename to nptl/pthread_spin_destroy.c diff --git a/nptl/sysdeps/pthread/pthread_spin_init.c b/nptl/pthread_spin_init.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_spin_init.c rename to nptl/pthread_spin_init.c diff --git a/nptl/sysdeps/pthread/pthread_spin_unlock.c b/nptl/pthread_spin_unlock.c similarity index 100% rename from nptl/sysdeps/pthread/pthread_spin_unlock.c rename to nptl/pthread_spin_unlock.c -- 2.7.4