about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-05-099-194/+414
| | | | | | | 2003-05-08 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h: Remove special handling of thread_atfork if HAVE_register_atfork_malloc is defined.
* (unwind_cleanup): Print error message and then abort. This function must ↵Ulrich Drepper2003-05-091-1/+7
| | | | never be reached.
* Update.Ulrich Drepper2003-05-061-0/+4
| | | | | | | | | | | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New variable. (__libc_init_secure): Don't do anything if __libc_enable_secure_decided is nonzero. * include/unistd.h: Declare __libc_enable_secure_decided. * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, and AT_EGID. If all found, set __libc_enable_secure and __libc_enable_secure_decided.
* (TLS_INIT_TP): Include \n in error message.Ulrich Drepper2003-05-061-1/+1
|
* * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.Roland McGrath2003-05-042-0/+5
| | | | Depend on $(before-compile).
* Update.Ulrich Drepper2003-05-031-1/+0
|
* Update.Ulrich Drepper2003-05-035-8/+20
| | | | | | | | | | | | | 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-0117-31/+81
| | | | | | | | | | | | | | | | | | | | | | | | 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-014-4/+37
| | | | | | | | | | 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.
* (__SIZEOF_PTHREAD_COND_T): Define to 48. (pthread_rwlock_t): Add 16 bytes of ↵Ulrich Drepper2003-05-011-2/+3
| | | | pad instead of 8 before __flags.
* 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.
* (do_test): Use correct printf format specifiers.Ulrich Drepper2003-04-302-16/+16
|
* Bump to 0.37.Ulrich Drepper2003-04-291-1/+1
|
* * Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.Roland McGrath2003-04-281-0/+4
|
* 2003-04-26 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-281-1/+1
| | | | * Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.
* Fix.Jakub Jelinek2003-04-261-2/+0
|
* Update.Ulrich Drepper2003-04-2512-51/+30
| | | | | | | | | * 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-2513-47/+95
| | | | | | | | | | | | | | 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-232-2/+7
| | | | around linker bug.
* Update.Ulrich Drepper2003-04-222-1/+5
| | | | | | 2003-04-22 Ulrich Drepper <drepper@redhat.com> * semaphore.h: Fix typo in comment.
* Update.Ulrich Drepper2003-04-212-0/+23
| | | | | | * signal/sigfillset.c: Moved to... * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined do not set the corresponding bit.
* Update.Ulrich Drepper2003-04-218-50/+62
| | | | | | | | | | | | | | 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-192-0/+32
| | | | | * 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-193-17/+48
| | | | | * stdlib/cxa_finalize.c (__cxa_finalize): Don't call UNREGISTER_ATFORK if d == NULL.
* Update.Ulrich Drepper2003-04-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-19 Ulrich Drepper <drepper@redhat.com> * catgets/nl_types.h: Remove __THROW marker from cancellation points. * dirent/dirent.h: Likewise. * dlfcn/dlfcn.h: Likewise. * grp/grp.h: Likewise. * iconv/iconv.h: Likewise. * io/fcntl.h: Likewise. * io/ftw.h: Likewise. * libio/stdio.h: Likewise. * misc/sys/mman.h: Likewise. * misc/sys/select.h: Likewise. * misc/sys/syslog.h: Likewise. * misc/sys/uio.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * posix/sys/wait.h: Likewise. * pwd/pwd.h: Likewise. * resolv/netdb.h: Likewise. * rt/aio.h: Likewise. * shadow/shadow.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/stdlib.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * sysvipc/sys/msg.h: Likewise. * termios/termios.h: Likewise. * time/time.h: Likewise. * wcsmbs/wchar.h: Likewise. * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable functions. * misc/daemon.c: Likewise. * sysdeps/generic/backtracesymsfd.c: Likewise. * sysdeps/generic/check_fds.c: Likewise. * sysdeps/unix/sysv/linux/gethostid.c: Likewise. * sysdeps/unix/sysv/linux/not-cancel.h: New file. * sysdeps/generic/not-cancel.h: New file. * csu/Makefile (distribute): Add not-cancel.h. * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE for assert.c and assert-perr.c to include <fatal-prepare.h>. * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. * sysdeps/posix/remove.c (remove): Rewrite. No need to restore errno and unlink first. * io/ftw.c (ftw_dir): In all places assume fchdir is available. 2003-04-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use INTERNAL_SYSCALL instead of INLINE_SYSCALL.
* Update.Ulrich Drepper2003-04-182-4/+5
| | | | | * sysdeps/pthread/pthread.h: Don't mark pthread_testcancel, pthread_cancel, pthread_setcancelstate, and pthread_setcanceltype with
* Update.Ulrich Drepper2003-04-182-2/+11
| | | | | | | 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
|
* (do_test): Use %zd instead of %d when printing cnt.Jakub Jelinek2003-04-161-5/+5
|
* * libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.Roland McGrath2003-04-162-0/+6
| | | | | * sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for INTUSE(__register_frame_info_bases).
* Update.Ulrich Drepper2003-04-151-1/+1
| | | | AT_SYSINFO_EH_FRAME. Adjust string width.
* 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-151-12/+12
| | | | | | 2003-04-15 Ulrich Drepper <drepper@redhat.com> * include/atomic.h: Pretty printing.
* Update.Ulrich Drepper2003-04-143-3/+4
| | | | * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't
* Update.Ulrich Drepper2003-04-143-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.
* Update.Ulrich Drepper2003-04-144-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.
* Update.Ulrich Drepper2003-04-142-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.
* Use DW_CFA_advance_loc2 for .Laddl-.Lsubl.Ulrich Drepper2003-04-141-1/+2
|
* Update.Ulrich Drepper2003-04-145-209/+261
| | | | | | | 2003-04-14 Ulrich Drepper <drepper@redhat.com> * string/strxfrm.c (STRXFRM): Terminate rulearr at correct position. Reported by jreiser@BitWagon.com.
* Add missing unwind info. Add comments.Ulrich Drepper2003-04-141-104/+125
|
* Update.Ulrich Drepper2003-04-135-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.
* Update.Ulrich Drepper2003-04-134-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.
* Update.Ulrich Drepper2003-04-124-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.
* Update.Ulrich Drepper2003-04-125-33/+132
| | | | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
* Update.Ulrich Drepper2003-04-1212-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.
* (deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid ↵Ulrich Drepper2003-04-121-22/+43
| | | | | | often unecessary local variable. (start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
* * csu/tst-empty.c: New file.Roland McGrath2003-04-121-0/+8
| | | | * csu/Makefile (tests, tests-static): Add it.
* Declare __pthread_unwind. Define __do_cancel to use it. Declare old ↵Ulrich Drepper2003-04-129-87/+282
| | | | cleanup handler installation functions.
* Test cleanup handler calls in initial thread.Ulrich Drepper2003-04-121-0/+65
|