aboutsummaryrefslogtreecommitdiff
path: root/nptl
AgeCommit message (Collapse)AuthorFilesLines
2003-04-16* tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.Jakub Jelinek1-0/+4
2003-04-16(do_test): Use %zd instead of %d when printing cnt.Jakub Jelinek1-5/+5
2003-04-16* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.Roland McGrath2-0/+6
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for INTUSE(__register_frame_info_bases).
2003-04-15Update.Ulrich Drepper1-1/+1
AT_SYSINFO_EH_FRAME. Adjust string width.
2003-04-15Update.Ulrich Drepper1-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.
2003-04-15Update.Ulrich Drepper1-12/+12
2003-04-15 Ulrich Drepper <drepper@redhat.com> * include/atomic.h: Pretty printing.
2003-04-14Update.Ulrich Drepper3-3/+4
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't
2003-04-14Update.Ulrich Drepper3-10/+17
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.
2003-04-14Update.Ulrich Drepper4-14/+28
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.
2003-04-14Update.Ulrich Drepper2-1/+13
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.
2003-04-14Use DW_CFA_advance_loc2 for .Laddl-.Lsubl.Ulrich Drepper1-1/+2
2003-04-14Update.Ulrich Drepper5-209/+261
2003-04-14 Ulrich Drepper <drepper@redhat.com> * string/strxfrm.c (STRXFRM): Terminate rulearr at correct position. Reported by jreiser@BitWagon.com.
2003-04-14Add missing unwind info. Add comments.Ulrich Drepper1-104/+125
2003-04-13Update.Ulrich Drepper5-2/+167
* 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.
2003-04-13Update.Ulrich Drepper4-3/+241
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.
2003-04-12Update.Ulrich Drepper4-9/+24
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.
2003-04-12Update.Ulrich Drepper5-33/+132
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2003-04-12Update.Ulrich Drepper12-40/+596
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.
2003-04-12(deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid ↵Ulrich Drepper1-22/+43
often unecessary local variable. (start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
2003-04-12* csu/tst-empty.c: New file.Roland McGrath1-0/+8
* csu/Makefile (tests, tests-static): Add it.
2003-04-12Declare __pthread_unwind. Define __do_cancel to use it. Declare old ↵Ulrich Drepper9-87/+282
cleanup handler installation functions.
2003-04-12Test cleanup handler calls in initial thread.Ulrich Drepper1-0/+65
2003-04-122003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+21
* Makefile ($(objpfx)multidir.mk): New target, generated makefile that sets variable `multidir'; include that. (generated): Add it. ($(objpfx)$(multidir)/crti.o): New target. [$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.
2003-04-11Update.Ulrich Drepper1-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.
2003-04-11(do_test): Add cast to avoid warning.Ulrich Drepper2-2/+2
2003-04-10Update.Ulrich Drepper2-2/+19
2003-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks in child.
2003-04-09Update.Ulrich Drepper2-0/+6
2003-04-09 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-detach1. * tst-detach1.c: New file.
2003-04-08Update.Ulrich Drepper2-45/+3
* sysdeps/pthread/pthread.h: Remove duplicate pthread_cleanup_{push,pop} definitions.
2003-04-08Update.Ulrich Drepper12-11/+26
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.
2003-04-07Whitespace fix.Jakub Jelinek1-1/+1
2003-04-07Test for pthread_detach of terminated thread.Ulrich Drepper1-0/+55
2003-04-07Update.Ulrich Drepper2-1/+5
2003-04-07 Ulrich Drepper <drepper@redhat.com> * pthread_detach.c (pthread_detach): Fix test for invalid TID.
2003-04-06Update.Ulrich Drepper2-32/+37
2003-04-06 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cancelhandling member to the front.
2003-04-05Update.Ulrich Drepper3-7/+63
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.
2003-04-05Update.Ulrich Drepper10-56/+188
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.
2003-04-05Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already ↵Ulrich Drepper1-1/+13
defined.
2003-04-04Update.Ulrich Drepper6-4/+137
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.
2003-04-04(sigcancel_handler): Don't set EXITING_BIT here.Ulrich Drepper1-8/+2
2003-04-02Update.Ulrich Drepper2-2/+1
2003-04-02Undo last change.Ulrich Drepper1-4/+0
2003-04-02Update.Ulrich Drepper1-1/+2
* Makefile (tests): Add tst-tsd3.c and tst-tsd4. * tst-tsd4.c: New file.
2003-04-02Check PTHREAD_DESTRUCTOR_ITERATIONS handling.Ulrich Drepper1-0/+103
2003-04-02(tests): Add tst-tsd4.Ulrich Drepper1-1/+1
2003-04-02Update.Ulrich Drepper5-57/+213
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.
2003-04-02(do_test): Make static.Ulrich Drepper1-1/+1
2003-04-01Update.Ulrich Drepper9-9/+123
* 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.
2003-04-01Update.Ulrich Drepper1-0/+5
2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h (CALL_THREAD_FCT): Align stack of called function correctly.
2003-04-01(CALL_THREAD_FCT): Align stack of called function correctly.Ulrich Drepper1-3/+2
2003-03-31Fix comment.Ulrich Drepper2-3/+3
2003-03-31Fix comment.Ulrich Drepper1-2/+2