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 + * 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