about summary refs log tree commit diff
path: root/nptl/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.Roland McGrath2003-05-041-0/+4
| | | | Depend on $(before-compile).
* Update.Ulrich Drepper2003-05-031-1/+0
|
* Update.Ulrich Drepper2003-05-031-0/+11
| | | | | | | | | | | | | 2003-05-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_condattr_t): Size is only an int, don't use long for alignment. (pthread_mutexattr_t): Likewise. (pthread_barrierattr_t): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* Update.Ulrich Drepper2003-05-011-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | 2003-05-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h: Define THREAD_ID. * sysdeps/ia64/tls.h: Likewise. * sysdeps/powerpc/tls.h: Likewise. * sysdeps/s390/tls.h: Likewise. * sysdeps/sh/tls.h: Likewise. * sysdeps/x86_64/tls.h: Likewise. * pthread_mutex_lock.c: Use THREAD_ID instead of THREAD_SELF to record ownership. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Likewise. * pthread_mutex_unlock.c: Likewise. * pthread_rwlock_trywrlock.c: Likewise. * sysdeps/pthread/pthread_rwlocklock_rdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise. * sysdeps/pthread/createthread.c (create_thread): Use CLONE_SYSVSEM flag.
* Update.Ulrich Drepper2003-05-011-0/+15
| | | | | | | | | | 2003-05-01 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. 2003-04-29 Andreas Schwab <schwab@suse.de> * string/test-strcat.c (do_one_test): Fix attribute name.
* Update.Ulrich Drepper2003-04-301-0/+5
| | | | | | | 2003-04-30 Ulrich Drepper <drepper@redhat.com> * tst-rwlock6.c (do_test): Use correct printf format specifiers. * tst-rwlock7.c (do_test): Likewise.
* * Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.Roland McGrath2003-04-281-0/+4
|
* Fix.Jakub Jelinek2003-04-261-2/+0
|
* Update.Ulrich Drepper2003-04-251-17/+1
| | | | | | | | | * pthread.c (__pthread_initialize_manager): Subtract TLS_PRE_TCB_SIZE bytes from tcbp to get to descr. * manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). (pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). * sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.
* Update.Ulrich Drepper2003-04-251-0/+38
| | | | | | | | | | | | | | 2003-04-22 Jakub Jelinek <jakub@redhat.com> * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to NO_TLS_OFFSET. * elf/rtld.c (_dl_start_final, _dl_start): Likewise. * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract TLS_TCB_SIZE.
* * Makeconfig (shared-thread-library): Reverse link order to workRoland McGrath2003-04-231-0/+5
| | | | around linker bug.
* Update.Ulrich Drepper2003-04-221-0/+4
| | | | | | 2003-04-22 Ulrich Drepper <drepper@redhat.com> * semaphore.h: Fix typo in comment.
* Update.Ulrich Drepper2003-04-211-0/+2
| | | | | | * signal/sigfillset.c: Moved to... * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined do not set the corresponding bit.
* Update.Ulrich Drepper2003-04-211-0/+13
| | | | | | | | | | | | | | 2003-04-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for SIGCANCEL. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. first syscall parameter to const char*.
* Update.Ulrich Drepper2003-04-191-0/+3
| | | | | * configure.in: Add AC_PROG_CXX. * config.make.in (CXX): Define.
* Update.Ulrich Drepper2003-04-191-0/+8
| | | | | | | 2003-04-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of __len to size_t to avoid warnings.
* Update.Ulrich Drepper2003-04-181-1/+2
| | | | | * sysdeps/pthread/pthread.h: Don't mark pthread_testcancel, pthread_cancel, pthread_setcancelstate, and pthread_setcanceltype with
* Update.Ulrich Drepper2003-04-181-0/+5
| | | | | | | 2003-04-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h: Don't mark pthread_testcancel with __THROW.
* * tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.Jakub Jelinek2003-04-161-0/+4
|
* * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.Roland McGrath2003-04-161-0/+4
| | | | | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for INTUSE(__register_frame_info_bases).
* Update.Ulrich Drepper2003-04-151-0/+4
| | | | | | | | | | | | | | | | | | | | 2003-04-15 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Define AT_SYSINFO_EH_FRAME. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_SYSINFO_EH_FRAME. (_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value. * sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global): Add _dl_sysinfo_eh_frame field. * elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame. * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj variable. [NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases if _dl_sysinfo_eh_frame is non-NULL. * Makeconfig (gnulib): Add -lgcc_eh. * config.h.in: Define HAVE_FORCED_UNWIND.
* Update.Ulrich Drepper2003-04-141-1/+1
| | | | * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't
* Update.Ulrich Drepper2003-04-141-0/+6
| | | | | | | | 2003-04-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Don't overflow CFA advance instructions. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* Update.Ulrich Drepper2003-04-141-0/+5
| | | | | | | | | | | | | | | | 2003-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX. * sysdeps/x86_64/bits/atomic.h: Likewise. 2003-04-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and POPARGS_1 to emit labels for the mov instructions. 2003-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
* Update.Ulrich Drepper2003-04-141-0/+11
| | | | | | | | | | | | | 2003-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Use DW_CFA_advance_loc2 for .Laddl-.Lsubl. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Use DW_CFA_advance_loc for .Laddl-.Lsubl. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Don't use position-independent unwind data for static libraries. Add missing unwind info. Add comments.
* Update.Ulrich Drepper2003-04-131-2/+3
| | | | | | * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
* Update.Ulrich Drepper2003-04-131-0/+9
| | | | | | | | | | | 2003-04-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add unwind info. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * Makefile: Make sure all cancellation points are compiled with exception and asynchronous unwind tables.
* Update.Ulrich Drepper2003-04-121-0/+6
| | | | | | | | 2003-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug which mishandles loading of global object addresses in PIC. (THREAD_SETMEM_NC): Likewise.
* Update.Ulrich Drepper2003-04-121-0/+1
| | | | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
* Update.Ulrich Drepper2003-04-121-0/+42
| | | | | | | | | | | | | | | | | 2003-04-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. Remove HAVE_CANCELBUF code. Replace with code using the new initializers for unwind-based cleanup handling. * sysdeps/generic/unwind.h: Update from latest gcc version. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few places to allow unwind data generation. * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. * sysdeps/x86_64/bits/setjmp.h: Likewise. * sysdeps/sh/bits/setjmp.h: Likewise. * sysdeps/powerpc/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/alpha/bits/setjmp.h: Likewise.
* * csu/tst-empty.c: New file.Roland McGrath2003-04-121-0/+8
| | | | * csu/Makefile (tests, tests-static): Add it.
* Update.Ulrich Drepper2003-04-111-0/+5
| | | | | | | 2003-04-11 Ulrich Drepper <drepper@redhat.com> * tst-attr2.c (do_test): Add cast to avoid warning. * tst-mutex4.c (do_test): Likewise.
* Update.Ulrich Drepper2003-04-101-0/+5
| | | | | | | 2003-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks in child.
* Update.Ulrich Drepper2003-04-091-0/+5
| | | | | | | 2003-04-09 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-detach1. * tst-detach1.c: New file.
* Update.Ulrich Drepper2003-04-081-0/+3
| | | | | * sysdeps/pthread/pthread.h: Remove duplicate pthread_cleanup_{push,pop} definitions.
* Update.Ulrich Drepper2003-04-081-0/+14
| | | | | | | | | | | | | | | | 2003-04-08 Ulrich Drepper <drepper@redhat.com> * tst-barrier2.c: Eliminate warnings. * tst-cancel4.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-detach1.c: Likewise. * tst-rwlock4.c: Likewise. * tst-rwlock6.c: Likewise. * tst-rwlock7.c: Likewise. * tst-sem3.c: Likewise. * tst-spin2.c: Likewise. * tst-umask1.c: Likewise.
* Update.Ulrich Drepper2003-04-071-0/+4
| | | | | | 2003-04-07 Ulrich Drepper <drepper@redhat.com> * pthread_detach.c (pthread_detach): Fix test for invalid TID.
* Update.Ulrich Drepper2003-04-061-0/+4
| | | | | | 2003-04-06 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cancelhandling member to the front.
* Update.Ulrich Drepper2003-04-051-0/+9
| | | | | | | | 2003-04-05 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If HAVE_register_atfork_malloc is defined use __register_atfork_malloc instead of __register_atfork.
* Update.Ulrich Drepper2003-04-051-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/createthread.c (create_thread): Add some more comments explaining when to set multiple_threads and when not. * pthreadP.h: Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already defined. * sysdeps/i386/tls.h: Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET: * sysdeps/x86_64/tls.h: Likewise. * cleanup_defer.c (_pthread_cleanup_push_defer): Rewrite to use THREAD_ATOMIC_CMPXCHG_VAL. (_pthread_cleanup_pop_restore): Likewise. * cancellation.c (__pthread_enable_asynccancel): Likewise. (__pthread_enable_asynccancel_2): Likewise. (__pthread_disable_asynccancel): Likewise. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. (__libc_disable_asynccancel): Likewise. * init.c (sigcancel_handler): Likewise. * pthread_setcancelstate.c (__pthread_setcancelstate): Likewise. * pthread_setcanceltype.c (__pthread_setcanceltype): Likewise.
* Update.Ulrich Drepper2003-04-041-0/+8
| | | | | | | | | | 2003-04-03 Ulrich Drepper <drepper@redhat.com> * init.c (sigcancel_handler): Don't set EXITING_BIT here. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. * pthreadP.h (__do_cancel): Set EXITING_BIT here. * Makefile (tests): Add tst-cancel11. * tst-cancel11.c: New file.
* Update.Ulrich Drepper2003-04-021-1/+0
|
* Update.Ulrich Drepper2003-04-021-1/+2
| | | | | * Makefile (tests): Add tst-tsd3.c and tst-tsd4. * tst-tsd4.c: New file.
* Update.Ulrich Drepper2003-04-021-0/+12
| | | | | | | | | | | | | | 2003-04-01 Ulrich Drepper <drepper@redhat.com> * pthread_create.c (deallocate_tsd): Clear/free memory after the last round, not the first. Use specific_used flag instead of local found_nonzero variable. Use THREAD_[SG]ETMEM where possible. (__free_tcb): Don't call deallocate_tsd here. (start_thread): Call deallocate_tsd here. * pthread_setspecific.c: Set specific_used flag really only when needed. * Makefile (tests): Add tst-tsd3.c * tst-tsd3.c: New file.
* Update.Ulrich Drepper2003-04-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_lock): Use atomic_exchange_and_add instead of __lll_add. (__lll_mutex_timedlock): Likewise. Patch by Ian Wienand. 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (SINGLE_THREAD_P): Fix typo. * tst-cancel-wrappers.sh: Handle '.'ed symbols. 2003-03-31 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-align. * tst-align.c: New file. * sysdeps/i386/Makefile: Define CFLAGS-tst-align. * sysdeps/x86_64/Makefile: Likewise. * tst-tsd2.c: Add casts to avoid warnings.
* Update.Ulrich Drepper2003-04-011-0/+5
| | | | | | | 2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h (CALL_THREAD_FCT): Align stack of called function correctly.
* Update.Ulrich Drepper2003-03-301-0/+4
| | | | | | 2003-03-30 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move most often used elements to the front.
* Update.Ulrich Drepper2003-03-291-0/+5
| | | | | | | 2003-03-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid netlink_open calls if netlink is known to not be available.
* Update.Ulrich Drepper2003-03-291-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_8_acq): ... this. (__arch_compare_and_exchange_val_16_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_16_acq): ... this. (__arch_compare_and_exchange_val_32_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_32_acq): ... this. (__arch_compare_and_exchange_val_64_acq): Renamed from... (__arch_compare_and_exchange_64_acq): ... this. (atomic_exchange_and_add): Use local variables and __arch_compare_and_exchange_val_64_acq. (atomic_add): Likewise. (atomic_add_negative, atomic_add_zero): Use local variables. * Makefile: Remove libmd5crypt goal.
* Update.Ulrich Drepper2003-03-281-0/+15
| | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/kernel-posix-timers.h: Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field. * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Remove debugging code. Create only one helper thread. * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Don't kill helper thread. * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread): Renamed. Define statically. Use thread info from siginfo. (__helper_once): New variable. (__helper_tid): New variable. (__reset_helper_control): New function. (__start_helper_thread): New function.