about summary refs log tree commit diff
path: root/nptl/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-07-151-0/+5
| | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Require CFI directives also for ppc and s390.
* Update.Ulrich Drepper2003-07-141-0/+5
| | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Fix typo in test for compilation in libc.
* Update.Ulrich Drepper2003-07-121-0/+20
| | | | | | | 2003-07-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR register across CENABLE and CDISABLE.
* Update.Ulrich Drepper2003-07-111-0/+11
| | | | | | | | | | * sysdeps/unix/sysv/linux/sigwait.c: Include string.h. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c (__sleep): Cast value to unsigned int before assigning to max to avoid warnings. 2003-07-11 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2003-07-081-0/+18
| | | | | | | | | | | | | | | | | | | | 2003-07-08 Jakub Jelinek <jakub@redhat.com> * pthreadP.h (__pthread_unwind_next, __pthread_register_cancel, __pthread_unregister_cancel): Add prototypes and hidden_proto. * unwind.c (__pthread_unwind_next): Add hidden_def. * cleanup.c (__pthread_register_cancel, __pthread_unregister_cancel): Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S (__new_sem_wait): Use HIDDEN_JUMPTARGET to jump to __pthread_unwind. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait): Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S (sem_wait): Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait): Likewise. * sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once): Use HIDDEN_JUMPTARGET to call __pthread_register_cancel, __pthread_unregister_cancel and __pthread_unwind_next.
* Update.Ulrich Drepper2003-07-081-0/+7
| | | | | | | | | | | | | 2003-07-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/s390/s390-32/elf/start.S: Emit position independent code if PIC. * sysdeps/s390/s390-64/elf/start.S: Likewise. 2003-07-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address) into .data.rel.ro.local section if PIC to avoid DT_TEXTREL.
* Update.Ulrich Drepper2003-07-081-0/+7
| | | | | | | | | | 2003-07-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Version __ASSUME_CORRECT_SI_PID and __ASSUME_TGKILL if possible. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for compilation with HAVE_AUX_SECURE defined.
* Update.Ulrich Drepper2003-07-081-0/+15
| | | | | | | | | | | | | | | | | 2003-07-07 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Add pid field. * allocatestack.c (allocate_stack): Initialize pid field in descriptor. (__reclaim_stacks): Likewise. * init.c (sigcancel_handler): If __ASSUME_CORRECT_SI_PID is defined also check for PID of the signal source. (__pthread_initialize_minimal_internal): Also initialize pid field of initial thread's descriptor. * pthread_cancel.c: Use tgkill instead of tkill if possible. * sysdeps/unix/sysv/linux/fork.c: Likewise. * sysdeps/unix/sysv/linux/pt-raise.c: Likewise. * sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. * sysdeps/unix/sysv/linux/raise.c: Likewise.
* Update.Ulrich Drepper2003-07-051-0/+6
| | | | | | | | 2003-07-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_push): Renamed. Fix use of parameter. (__libc_cleanup_pop): Likewise.
* Update.Ulrich Drepper2003-07-051-0/+6
| | | | | | | | 2003-07-04 Ulrich Drepper <drepper@redhat.com> * init.c (sigcancel_handler): Change parameters to match handler for SA_SIGACTION. Check signal number and code to recognize invalid invocations.
* * sysdeps/ia64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr):Roland McGrath2003-07-031-0/+5
| | | | Apply sizeof (struct pthread) bias to r13 value.
* Update.Ulrich Drepper2003-07-031-0/+2
| | | | | | 2003-07-03 Ulrich Drepper <drepper@redhat.com> * configure.in: Also check for .cfi_rel_offset pseudo-op.
* Update.Ulrich Drepper2003-07-031-0/+9
| | | | | | | | | | | 2003-07-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/librt-cancellation.c (__pthread_unwind): Remove definition. * pthreadP.h (__pthread_unwind): Add hidden_proto if used in libpthread compilation. * unwind.c (__pthread_unwind): Add hidden_def. * Versions (libpthread) [GLIBC_PRIVATE]: Add __pthread_unwind.
* Update.Ulrich Drepper2003-07-021-0/+6
| | | | | | | | 2003-07-01 Ulrich Drepper <drepper@redhat.com> * libc-cancellation.c (__libc_cleanup_routine): Define. * sysdeps/pthread/bits/libc-lock.h (__pthread_cleanup_push): Define. (__pthread_cleanup_pop): Define.
* Update.Ulrich Drepper2003-07-011-0/+19
| | | | | | | | | | | | | | | | | | | | | 2003-07-01 Richard Henderson <rth@redhat.com> * sysdeps/alpha/elf/pt-initfini.c: New file. * sysdeps/alpha/pthread_spin_lock.S: New file. * sysdeps/alpha/pthread_spin_trylock.S: New file. * sysdeps/alpha/pthreaddef.h: New file. * sysdeps/alpha/td_ta_map_lwp2thr.c: New file. * sysdeps/alpha/tls.h: New file. * sysdeps/unix/sysv/linux/alpha/Makefile: New file. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: New file. * sysdeps/unix/sysv/linux/alpha/createthread.c: New file. * sysdeps/unix/sysv/linux/alpha/fork.c: New file. * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file. * sysdeps/unix/sysv/linux/alpha/pthread_once.c: New file. * sysdeps/unix/sysv/linux/alpha/sem_post.c: New file. * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: New file.
* Update.Ulrich Drepper2003-07-011-0/+5
| | | | | | | 2003-07-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Add correct cleanup support and unwind info.
* Update.Ulrich Drepper2003-07-011-0/+2
| | | | | * sysdeps/unix/sysv/linux/unwindbuf.sym: New file. * sysdeps/unix/sysv/linux/Makefile: Add rule to build unwindbuf.h.
* Update.Ulrich Drepper2003-07-011-0/+10
| | | | | | | | | | | | 2003-06-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/pthread_once.S (__pthread_once): Use correct cleanup handler registration. Add unwind info. * tst-once3.c: Add cleanup handler and check it is called. * tst-once4.c: Likewise. * tst-oncex3.c: New file. * tst-oncex4.c: New file. * Makefile: Add rules to build and run tst-oncex3 and tst-oncex4.
* Update.Ulrich Drepper2003-06-291-0/+4
| | | | | | 2003-06-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Check for C cleanup handling in gcc.
* Update.Ulrich Drepper2003-06-271-0/+3
| | | | | * tst-cancel4.c (tf_msgrcv): Use IPC_PRIVATE in msgget call. (tf_msgsnd): Likewise.
* Update.Ulrich Drepper2003-06-271-0/+5
| | | | | | 2003-06-27 Ulrich Drepper <drepper@redhat.com> * rt/Makefile (CFLAGS-librt-cancellation.c): Define.
* Update.Ulrich Drepper2003-06-271-0/+11
| | | | | | | | | | | | | 2003-06-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/librt-cancellation.c: Move __pthread_unwind definition to the front. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Rename the cleanup functions to make the names unique. Fix dwarf opcode un unwind table. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Rename cleanup functions to make the names unique. Fix CFA offset for two blocks.
* Update.Ulrich Drepper2003-06-261-0/+6
| | | | | | | | 2003-06-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h (class __pthread_cleanup_class): Add missing closing braces. Patch by Christophe Saout <christophe@saout.de>.
* Update.Ulrich Drepper2003-06-251-0/+3
| | | | | * sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: New file.
* * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellationRoland McGrath2003-06-251-0/+4
| | | | | | in librt. * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
* Update.Ulrich Drepper2003-06-251-0/+10
| | | | | | | | | * include/time.h: Define CLOCK_IDFIELD_SIZE. * sysdeps/posix/clock_getres.c: Recognize thread CPU clock IDs. * sysdeps/unix/clock_gettime.c: Likewise. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Adjust for new clock id for thread CPU clocks.
* Update.Ulrich Drepper2003-06-241-0/+13
| | | | | | | | | | * sysdeps/pthread/aio_misc.h: Mark __aio_requests_mutex, __aio_enqueue_request, __aio_find_req, __aio_find_req_fd, __aio_free_request, __aio_notify, and __aio_sigqueue as hidden. * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to the result of pthread_cond_wait if there was an error. Use pthread_cleanup_* instead of __lbic_cleanup_region_*.
* Update.Ulrich Drepper2003-06-231-0/+4
| | | | | | * pthreadP.h: Mark __pthread_mutex_unlock_usercnt also hidden. * pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt): Add attribute_hidden.
* Update.Ulrich Drepper2003-06-221-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-22 Ulrich Drepper <drepper@redhat.com> * pthreadP.h (__pthread_mutex_init_internal): Mark hidden. (__pthread_mutex_lock_internal): Likewise. (__pthread_mutex_unlock_internal): Likewise. (__pthread_mutex_unlock_usercnt): Declare. * pthread_mutex_destroy.c: Always fail if used in any way. * pthread_mutex_init.c: Update comment. * pthread_mutex_lock.c: If NO_INCR is not defined adjust __nusers. * pthread_mutex_timedlock.c: Adjust __nusers. * pthread_mutex_trylock.c: Adjust __nusers. * pthread_mutex_unlock.c: Old code is in __pthread_mutex_unlock_usercnt and public interfaces are wrapper with pass additional parameter. __pthread_mutex_unlock_usercnt does not adjust __nusers if second parameter zero. * tst-mutex8.c: New file. * Makefile (tests): Add tst-mutex8. * sysdeps/pthread/pthread_cond_timedwait.c: Call __pthread_mutex_unlock_usercnt. * sysdeps/pthread/pthread_cond_wait.c: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Define NO_INCR. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): Add __nusers. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * pthread_mutex_lock.c: Don't store THREAD_ID in __owner, use TID. * pthread_mutex_timedlock.c: Likewise. * pthread_mutex_trylock.c: Adjust __nusers. * pthread_mutex_unlock.c: Compare with TID not THREAD_ID. * tst-mutex9.c: New file. * Makefile (tests): Add tst-mutex9. * sysdeps/i386/tls.h: Remove THREAD_ID definition. * 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. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t): Change type of __owner. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* Update.Ulrich Drepper2003-06-191-1/+15
| | | | | | | | | | | | | | | | | | 2003-06-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sem_post.c: Move to... * sysdeps/unix/sysv/linux/sem_post.c: ...here. * sysdeps/unix/sysv/linux/sem_post.c: Move to... * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here. Pass nr + 1 instead of nr to lll_futex_wake. Only set errno and return -1 if err < 0. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On success return actual return value from the syscall, not 0. compat_timer_getoverrun.
* Update.Ulrich Drepper2003-06-181-0/+5
| | | | | | | * tst-cancel4.c (tf_msgsnd): Don't always use 100 as the type, find a random value. (tf_msgrcv): Likewise. Also don't report msgrcv returns if errno==EIDRM.
* Update.Ulrich Drepper2003-06-181-0/+9
| | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump): Fix completely broken impleentation. The second parameter is of type struct ucontext*. * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Always inline. * sysdeps/i386/i686/dl-hash.h: Don't inline _dl_elf_hash. * sysdeps/generic/dl-hash.h: Likewise. * sysdeps/generic/memcmp.c: Remove inline from memcmp_common_alignment and memcmp_not_common_alignment definition.
* Update.Ulrich Drepper2003-06-181-0/+5
| | | | | | | 2003-06-18 Ulrich Drepper <drepper@redhat.com> * pthread_mutex_destroy.c (__pthread_mutex_destroy): For error-checking mutex detect busy mutexes.
* Update.Ulrich Drepper2003-06-181-0/+7
| | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_mutex_lock): Add ax to clobber list. (lll_mutex_cond_lock): Likewise. (lll_mutex_unlock): Likewise. (lll_lock): Likewise. (lll_unlock): Likewise.
* Update.Ulrich Drepper2003-06-171-0/+15
| | | | | | 2003-06-17 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (build_word_op): Use alnum instead of alpha class.
* Update..Ulrich Drepper2003-06-171-0/+4
| | | | | | 2003-06-17 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c: Test open, close, pread, pwrite, fsync, and msync.
* Update.Ulrich Drepper2003-06-171-0/+25
| | | | | | | 2003-06-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sleep.c: Use CANCELLATION_P if defined before returning because seconds==0.
* Update.Ulrich Drepper2003-06-171-0/+10
| | | | | | | | | | | | 2003-06-17 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c: Add tests for the socket and signal functions, pause. Also test early cancellation before the thread reaches the cancellation point. * Makefile: Compile forward.c with exceptions. * sysdeps/unix/sysv/linux/sleep.c: New file.
* Update.Ulrich Drepper2003-06-161-0/+4
| | | | | | * Makefile: Add CFLAGS definition to compile function wrappers duplicated from libc with exceptions. * tst-cancel4.c: Also check cancellation handlers.
* Update.Ulrich Drepper2003-06-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * math/tgmath.h (__TGMATH_UNARY_IMAG_ONLY): Removed. 2003-06-15 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Correct setting of MXCSR. * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise. * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise. Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>. * math/tgmath.h (carg): Handle real arguments. (conj): Likewise. (cproj): Likewise. (cimag): Likewise. (creal): Likewise. * math/Makefile (CFLAGS-test-tgmath-ret.c): New. (tests): Add test-tgmath-ret. * math/test-tgmath-ret.c: New file. * math/tgmath.h (ilogb): Return always an int. 2003-06-16 Ulrich Drepper <drepper@redhat.com> computation so that prelinking works.
* Update.Ulrich Drepper2003-06-161-0/+5
| | | | | | | * sysdeps/unix/sysv/linux/i386/dl-sysdep.h (DL_SYSINFO_IMPLEMENTATION): Use CFI opcodes. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h (DL_SYSINFO_IMPLEMENTATION): Likewise.
* Update.Ulrich Drepper2003-06-151-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Ulrich Drepper <drepper@redhat.com> Fix cancellation point handling wrt exception based cleanup. * io/Makefile: Compile fcntl.c, poll.c, and lockf.c with exceptions. * misc/Makefile: Compile pselect.c, readv.c, writev.c, and usleep.c with exceptions. * posix/Makefile: Compile pread.c, pread64.c, pwrite.c, pwrite64.c, sleep.c, wait.c, waitid.c, and waitpid.c with exceptions. * rt/Makefile: Compile aio_suspend.c and clock_nanosleep.c with exceptions. * signal/Makefile: Compile sigpause.c, sigsuspend.c, sigtimedwait.c, sigwait.c, and sigwaitinfo.c with exceptions. * stdlib/Makefile: Compile system.c with exceptions. * sysvipc/Makefile: Compile msgrcv.c and msgsnd.c with exceptions. * termios/Makefile: Compile tcdrain.c with exceptions. * sysdeps/generic/lockf.c: Add comment explaining the cancellation situation. * sysdeps/generic/pselect.c: Likewise. * sysdeps/posix/sigpause.c: Likewise. * sysdeps/posix/system.c: Likewise. * sysdeps/posix/waitid.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c: Likewise. * sysdeps/unix/sysv/linux/usleep.c: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Major rewrite of INTERNAL_SYSCALL to not use push inside asm statement so that unwind info is correct around the syscall. * sysdeps/unix/clock_nanosleep.c: Add cancellation support. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
* Update.Ulrich Drepper2003-06-141-0/+2
| | | | * sysdeps/pthread/posix-timer.h (timespec_compare): Always inline.
* Update.Ulrich Drepper2003-06-141-0/+7
| | | | | | | | | * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close, not close. * inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def. * include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto definition.
* * sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FSRoland McGrath2003-06-131-0/+5
| | | | constant from <sys/reg.h> to ps_get_thread_area, not register contents.
* Update.Ulrich Drepper2003-06-111-0/+5
| | | | | | | 2003-06-11 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (queue_stack): Always inline. * ptreadhP.h (__do_cancel): Likewise.
* * sysdeps/unix/sysv/linux/s390/sem_timedwait.c (sem_timedwait): FixJakub Jelinek2003-06-101-1/+6
| | | | | | a typo. * sysdeps/unix/sysv/linux/s390/sem_timedwait.c (sem_timedwait):
* Update.Ulrich Drepper2003-06-101-0/+6
| | | | | | | 2003-06-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't leak memory from getifaddr calls.
* Update.Ulrich Drepper2003-06-091-0/+4
| | | | | | | (__pthread_cond_signal): Use correct futex pointer in __lll_mutex_lock_wait call. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
* Update.Ulrich Drepper2003-06-091-0/+5
| | | | | | | 2003-06-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S (__pthread_cond_signal): Some more tweaks to handle cond_lock!=0.