aboutsummaryrefslogtreecommitdiff
path: root/nptl/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/ChangeLog')
-rw-r--r--nptl/ChangeLog253
1 files changed, 108 insertions, 145 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 47ea82ff5d..0b1d6300ac 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,107 +1,41 @@
-2007-07-27 Jakub Jelinek <jakub@redhat.com>
+2007-01-10 Ulrich Drepper <drepper@redhat.com>
- * sysdeps/sparc/tls.h (tcbhead_t): Move gscope_flag to the end
- of the structure for sparc32.
+ * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Cleanups. Define
+ FUTEX_CMP_REQUEUE and lll_futex_requeue.
-2007-07-26 Aurelien Jarno <aurelien@aurel32.net>
-
- * sysdeps/sparc/tls.h (tcbhead_t): Add gscope_flag.
-
-2007-06-22 Jakub Jelinek <jakub@redhat.com>
-
- * pthread_getattr_np.c (pthread_getattr_np): Clear cpuset and
- cpusetsize if pthread_getaffinity_np failed with ENOSYS.
-
-2007-05-28 Jakub Jelinek <jakub@redhat.com>
+2006-12-28 David S. Miller <davem@davemloft.net>
- * sysdeps/i386/tls.h (THREAD_GSCOPE_RESET_FLAG): Use explicit
- insn suffix.
- (THREAD_GSCOPE_GET_FLAG): Remove.
- * sysdeps/x86_64/tls.h (THREAD_GSCOPE_GET_FLAG): Remove.
- * allocatestack.c (__wait_lookup_done): Revert 2007-05-24
- changes.
- * sysdeps/powerpc/tls.h (tcbhead_t): Remove gscope_flag.
- (THREAD_GSCOPE_GET_FLAG): Remove.
- (THREAD_GSCOPE_RESET_FLAG): Use THREAD_SELF->header.gscope_flag
- instead of THREAD_GSCOPE_GET_FLAG.
- (THREAD_GSCOPE_SET_FLAG): Likewise. Add atomic_write_barrier after
- it.
- * sysdeps/s390/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
- THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
- THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
- THREAD_GSCOPE_WAIT): Define.
- * sysdeps/sparc/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
- THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
- THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
- THREAD_GSCOPE_WAIT): Define.
- * sysdeps/sh/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
- THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
- THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
- THREAD_GSCOPE_WAIT): Define.
- * sysdeps/ia64/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
- THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
- THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
- THREAD_GSCOPE_WAIT): Define.
-
-2007-05-24 Richard Henderson <rth@redhat.com>
-
- * descr.h (struct pthread): Add header.gscope_flag.
- * sysdeps/alpha/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
- THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
- THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
- THREAD_GSCOPE_WAIT): Define.
-
-2007-05-26 Ulrich Drepper <drepper@redhat.com>
-
- * allocatestack.c: Revert last change.
- * init.c: Likewise.
- * sysdeps/i386/tls.h: Likewise.
- * sysdeps/x86_64/tls.h: Likewise.
+ * shlib-versions: Fix sparc64 linux target specification.
-2007-05-24 Jakub Jelinek <jakub@redhat.com>
+2007-01-10 Jakub Jelinek <jakub@redhat.com>
- * sysdeps/powerpc/tls.h (tcbhead_t): Add gscope_flag.
- (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED,
- THREAD_GSCOPE_FLAG_WAIT): Define.
- (THREAD_GSCOPE_GET_FLAG, THREAD_GSCOPE_SET_FLAG,
- THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_WAIT): Define.
- * sysdeps/i386/tls.h (THREAD_GSCOPE_WAIT): Don't use
- PTR_DEMANGLE.
- (THREAD_GSCOPE_GET_FLAG): Define.
- * sysdeps/x86_64/tls.h (THREAD_GSCOPE_GET_FLAG): Define.
- * allocatestack.c (__wait_lookup_done): Use THREAD_GSCOPE_GET_FLAG
- instead of ->header.gscope_flag directly.
+ * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
+ Adjust include path for pthread_barrier_wait.c move.
-2007-05-21 Ulrich Drepper <drepper@redhat.com>
+2006-12-21 Jakub Jelinek <jakub@redhat.com>
- * sysdeps/pthread/pthread-functions.h (struct pthread_functions):
- Remove ptr_wait_lookup_done again.
- * init.c (pthread_functions): Don't add .ptr_wait_lookup_done here.
- (__pthread_initialize_minimal_internal): Initialize
- _dl_wait_lookup_done pointer in _rtld_global directly.
- * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
- Remove code to code _dl_wait_lookup_done.
- * sysdeps/x86_64/tls.h (THREAD_GSCOPE_WAIT): The pointer is not
- encrypted for now.
+ * sysdeps/unix/sysv/linux/pthread_kill.c (pthread_kill): Make sure
+ tid isn't reread from pd->tid in between ESRCH test and the syscall.
-2007-05-19 Ulrich Drepper <drepper@redhat.com>
+2006-12-06 Jakub Jelinek <jakub@redhat.com>
- * allocatestack.c (__wait_lookup_done): New function.
- * sysdeps/pthread/pthread-functions.h (struct pthread_functions):
- Add ptr_wait_lookup_done.
- * init.c (pthread_functions): Initialize .ptr_wait_lookup_done.
- * pthreadP.h: Declare __wait_lookup_done.
- * sysdeps/i386/tls.h (tcbhead_t): Add gscope_flag.
- Define macros to implement reference handling of global scope.
- * sysdeps/x86_64/tls.h: Likewise.
- * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
- Initialize GL(dl_wait_lookup_done).
+ * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Handle
+ 6 argument cancellable syscalls.
+ (STM_6, LM_6, LR7_0, LR7_1, LR7_2, LR7_3, LR7_4, LR7_5, LR7_6): Define.
+ * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Handle
+ 6 argument cancellable syscalls.
+ (STM_6, LM_6, LR7_0, LR7_1, LR7_2, LR7_3, LR7_4, LR7_5, LR7_6): Define.
2006-12-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/rtld-lowlevel.h
(__rtld_mrlock_initialize): Add missing closing parenthesis.
+2006-10-30 Jakub Jelinek <jakub@redhat.com>
+
+ * sysdeps/ia64/pthread_spin_unlock.c (pthread_spin_unlock): Use
+ __sync_lock_release instead of __sync_lock_release_si.
+
2006-10-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (RTLD_SINGLE_THREAD_P):
@@ -118,6 +52,50 @@
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
+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 always enabled.
+ * tst-tls5.h: Likewise.
+ * sysdeps/alpha/tls.h: Likewise.
+ * sysdeps/i386/tls.h: Likewise.
+ * sysdeps/ia64/tls.h: Likewise.
+ * sysdeps/powerpc/tls.h: Likewise.
+ * sysdeps/s390/tls.h: Likewise.
+ * sysdeps/sh/tls.h: Likewise.
+ * sysdeps/sparc/tls.h: Likewise.
+ * sysdeps/x86_64/tls.h: Likewise.
+
2006-10-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/rtld-lowlevel.h (__rtld_mrlock_lock,
@@ -147,74 +125,59 @@
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P):
Likewise.
-2006-10-09 Ulrich Drepper <drepper@redhat.com>
+2006-10-26 Jakub Jelinek <jakub@redhat.com>
- * sysdeps/unix/sysv/linux/rtld-lowlevel.h: New file..
-
-2007-05-25 Ulrich Drepper <drepper@redhat.com>
+ * pthread_attr_setstacksize.c (NEW_VERNUM): Define to GLIBC_2_3_3
+ by default rather than 2_3_3.
- * Makefile (tests): Add tst-sem10.
- * tst-sem10.c: New file.
-
-2007-05-25 Ulrich Drepper <drepper@redhat.com>
- Jakub Jelinek <jakub@redhat.com>
+2006-10-17 Jakub Jelinek <jakub@redhat.com>
- * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait):
- Move __pthread_enable_asynccancel right before futex syscall.
- * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait):
- Likewise.
-
-2007-05-21 Jakub Jelinek <jakub@redhat.com>
-
- * tst-robust9.c (do_test): Don't fail if ENABLE_PI and
- pthread_mutex_init failed with ENOTSUP.
-
-2007-05-17 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4512]
- * pthread_mutex_lock.c: Preserve FUTEX_WAITERS bit when dead owner
- is detected.
- * pthread_mutex_timedlock.c: Likewise.
- * pthread_mutex_trylock.c: Likewise.
- Patch in part by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
-
- * Makefile (tests): Add tst-robust9 and tst-robustpi9.
- * tst-robust9.c: New file.
- * tst-robustpi9.c: New file.
-
-2007-05-07 Ulrich Drepper <drepper@redhat.com>
-
- * sysdeps/unix/sysv/linux/lowlevelrobustlock.c
- (__lll_robust_lock_wait): Fix race caused by reloading of futex value.
- (__lll_robust_timedlock_wait): Likewise.
- Reported by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.
-
-2007-05-06 Mike Frysinger <vapier@gentoo.org>
+ * sysdeps/unix/sysv/linux/rtld-lowlevel.h (__rtld_mrlock_lock,
+ __rtld_mrlock_unlock, __rtld_mrlock_change, __rtld_mrlock_done): Use
+ atomic_* instead of catomic_* macros.
- [BZ #4465]
- * tst-cancel-wrappers.sh: Set C["fdatasync"] to 1.
- * tst-cancel4.c (tf_fdatasync): New test.
+2006-10-12 Ulrich Drepper <drepper@redhat.com>
-2007-02-25 Ulrich Drepper <drepper@redhat.com>
+ [BZ #3285]
+ * sysdeps/unix/sysv/linux/bits/local_lim.h: Add SEM_VALUE_MAX.
+ * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Likewise.
+ * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: Likewise.
+ * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: Likewise.
+ * sysdeps/unix/sysv/linux/i386/bits/semaphore.h: Remove SEM_VALUE_MAX.
+ * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Likewise.
+ * sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h: Likewise.
+ * sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Likewise.
+ * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: Likewise.
+ * sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Likewise.
+ * sysdeps/unix/sysv/linux/ia64/bits/semaphore.h: Likewise.
+ * sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Likewise.
- * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset refcntr in
- new thread, don't just decrement it.
- Patch by Suzuki K P <suzuki@in.ibm.com>.
+2006-10-11 Ulrich Drepper <drepper@redhat.com>
-2007-02-09 Jakub Jelinek <jakub@redhat.com>
+ * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Add support for
+ cancelable syscalls with six parameters.
- * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
- (__lll_mutex_timedlock_wait): Use correct pointer when we don't
- call into the kernel to delay.
+ * sysdeps/unix/sysv/linux/rtld-lowlevel.h: Use catomic_*
+ operations instead of atomic_*.
-2006-12-28 David S. Miller <davem@davemloft.net>
+2006-10-09 Ulrich Drepper <drepper@redhat.com>
- * shlib-versions: Fix sparc64 linux target specification.
+ * sysdeps/unix/sysv/linux/rtld-lowlevel.h: New file..
-2006-12-21 Jakub Jelinek <jakub@redhat.com>
+2006-10-07 Ulrich Drepper <drepper@redhat.com>
- * sysdeps/unix/sysv/linux/pthread_kill.c (pthread_kill): Make sure
- tid isn't reread from pd->tid in between ESRCH test and the syscall.
+ * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: New file.
+ * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: New file.
+ * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
+ New file.
+ * pthread_attr_setstack.c: Allow overwriting the version number of the
+ new symbol.
+ * pthread_attr_setstacksize.c: Likewise.
+ (__old_pthread_attr_setstacksize): If STACKSIZE_ADJUST is defined use
+ it.
+ * sysdeps/unix/sysv/linux/powerpc/Versions (libpthread): Add
+ pthread_attr_setstack and pthread_attr_setstacksize to GLIBC_2.6.
2006-09-24 Ulrich Drepper <drepper@redhat.com>