about summary refs log tree commit diff
path: root/nptl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-02-241-2/+7
| | | | | | * Makefile: Add rules to build and run tst-tls3. * tst-tls3.c: New file. * tst-tls3mod.c: New file.
* Update.Ulrich Drepper2003-02-241-1/+1
| | | | | | | | | | | | | | | | 2003-02-24 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-rwlock8 and tst-rwlock9. * tst-rwlock8.c: New file. * tst-rwlock9.c: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Fix complete broken rwlock implementation. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* 2003-02-23 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-241-1/+1
| | | | * Makefile (nptl-version): Change regexp so case sensitivity is ok.
* Update.Ulrich Drepper2003-02-241-1/+2
| | | | | * Makefile (tests): Add tst-context1. * tst-context1.c: New file.
* Update.Ulrich Drepper2003-02-241-0/+1
| | | | | | * Makefile (tests): Add tst-tls1 and tst-tls2. * tst-tls1.c: New file. * tst-tls2.c: New file.
* Add dependency for $(objpfx)version.d.Ulrich Drepper2003-02-221-1/+2
|
* Update.Ulrich Drepper2003-02-221-1/+1
| | | | * iconv/iconv_prog.c (main): Unify messages.
* Update.Ulrich Drepper2003-02-221-0/+3
| | | | | | | * Makefile (tests): Add tst-eintr1. (distribute): Add eintr.c. * tst-eintr1.c: New file. * eintr.c: New file.
* Update.Ulrich Drepper2003-02-221-1/+1
| | | | | | | | | | 2003-02-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do not chechk for errors (unless testing for 32bit variant). * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
* Update.Ulrich Drepper2003-02-211-1/+1
| | | | | | | 2003-02-21 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Remove tst-basic7. Add tst-kill1, tst-kill2, tst-kill3, tst-kill4.
* 2003-02-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-211-0/+1
| | | | * Makefile (install-lib-ldscripts): New variable.
* Update.Ulrich Drepper2003-02-201-1/+1
| | | | | | | | | 2003-02-20 Ulrich Drepper <drepper@redhat.com> * pthread_create.c (deallocate_tsd): Clear the entire first block of TSD. * Makefile (tests): Add tst-key4. * tst-key4.c: New file.
* Update.Ulrich Drepper2003-02-181-0/+1
| | | | | | | 2003-02-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize invalid file descriptors and missing access permissions.
* Update.Ulrich Drepper2003-02-171-1/+1
| | | | | * Makefile (tests): Add tst-signal5. * tst-signal5.c: New file.
* Update.Ulrich Drepper2003-02-171-3/+3
| | | | | | | | | | | | | | | | | | 2003-02-17 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-basic6. * tst-basic6.c: New file. * tst-basic1.c: Add test for process ID. * Makefile (tests): Add tst-cancel10. * tst-cancel10.c: New file. * Makefile (tests): Add tst-signal4. * tst-signal4.c: New file. * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use __sigismember instead of sigismember. Add __builtin_expect.
* Update.Ulrich Drepper2003-02-161-1/+1
| | | | | | | | | | | 2003-02-16 Ulrich Drepper <drepper@redhat.com> * libc-cancellation.c (__libc_enable_asynccancel): Rwrite to avoid going into an endless loop. * Makefile (tests): Add tst-cancel9. * tst-cancel9.c: New file. * pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill.
* Update.Ulrich Drepper2003-02-151-1/+2
| | | | | * Makefile (tests): Add tst-clock1. * tst-clock1.c: New file.
* Update.Ulrich Drepper2003-02-151-1/+1
| | | | | | | | | | | 2003-02-15 Ulrich Drepper <drepper@redhat.com> * pthread_setconcurrency.c (pthread_setconcurrency): Fail for negative arguments. * Makefile (tests): Add tst-basic5. * tst-basic5.c: New file. after thread is done. If then zero, call exit(0).
* Update.Ulrich Drepper2003-02-151-1/+1
| | | | | * math/libm-test.inc (nextafter_test): New test, but disabled due to gcc bug.
* Update.Ulrich Drepper2003-02-141-1/+1
| | | | | | | 2003-02-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread counter and only call __exit_thread if this is not the last thread.
* Update.Ulrich Drepper2003-02-141-1/+1
| | | | | | | | | | | | * descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK. * init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval. * pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT if asynchronous canceling is enabled. * pthread_join.c (pthread_join): When recognizing circular joins, take into account the other thread might be already canceled. * Makefile (tests): Add tst-join5. * tst-join5.c: New file.
* Update.Ulrich Drepper2003-02-141-1/+1
| | | | | | | | | | | 2003-02-14 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-join4. * tst-join4.c: New file. 2003-02-13 Ulrich Drepper <drepper@redhat.com> * tst-cond4.c (main): Add test of pthread_attr_getpshared.
* Update.Ulrich Drepper2003-02-141-0/+1
| | | | | | | | | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Fix handling of cancellation and failung pthread_mutex_unlock call. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * Makefile (tests): Add tst-cond8 and tst-cond9. * tst-cond8.c: New file. * tst-cond9.c: New file.
* Update.Ulrich Drepper2003-02-131-1/+1
| | | | | | | 2003-02-13 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-cleanup3. * tst-cleanup3.c: New file.
* Update.Ulrich Drepper2003-02-131-1/+2
| | | | | | * Makefile (tests): Add tst-attr1 and tst-attr2. * tst-attr1.c: New file. * tst-attr2.c: New file.
* Update.Ulrich Drepper2003-02-131-1/+27
| | | | | | | | | | | | | | | | | | * Makefile: Add rules to build and run tst-atfork2 test. * tst-atfork2.c: New file. * tst-atfork2mod.c: New file. * sysdeps/unix/sysv/linux/unregister-atfork.c (__unregister_atfork): Free the memory allocated for the handlers after removing them from the lists. * sysdeps/unix/sysv/linux/register-atfork.c: Define memeory cleanup function. * tst-atfork1.c (do_test): Wait for the child we forked. Report error in child. * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Fix comment.
* Update.Ulrich Drepper2003-02-111-1/+1
| | | | | * Makefile (tests): Add tst-cancel8. * tst-cancel8.c: New file.
* Update.Ulrich Drepper2003-02-101-1/+1
| | | | | * Makefile (tests): Add tst-once3 and tst-once4. * tst-once4.c: New file.
* Update.Ulrich Drepper2003-02-101-1/+1
| | | | | | | | | 2003-02-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix clearing of control variable. * Makefile (tests): Add tst-once3. * tst-once3.c: New file.
* Update.Ulrich Drepper2003-02-071-1/+2
| | | | | | | | | | | | | | | | 2003-02-07 Jakub Jelinek <jakub@redhat.com> * tst-popen2.c: New test. * Makefile (tests): Add tst-popen2. * sysdeps/unix/sysv/linux/alpha/vfork.S (__vfork): Branch to __fork whenever libpthread.so is loaded. * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/ia64/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Likewise.
* Update.Ulrich Drepper2003-01-301-1/+3
| | | | | | | | 2003-01-29 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-umask1. (tst-umask1-ARGS): Define. * tst-umask1.c: New file.
* Update.Ulrich Drepper2003-01-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (libpthread-routines): Remove lowlevelrwlock. Add pthread_rwlock_rdlock, pthread_rwlock_timedrdlock, pthread_rwlock_wrlock, pthread_rwlock_timedwrlock, and pthread_rwlock_unlock. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Removed * sysdeps/unix/sysv/linux/i386/i586/lowlevelrwlock.S: Removed * sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Removed * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: New file.
* Update.Ulrich Drepper2003-01-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (libpthread-routines): Remove lowlevelcond and lowlevelsem. Add sem_wait, sem_trywait, sem_timedwait, sem_post, pthread_cond_wait, pthread_cond_timedwait, pthread_cond_signal, and pthread_cond_broadcast. * sysdeps/unix/sysv/linux/i486/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i486/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i586/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i586/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i686/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i686/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i486/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i486/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i486/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i486/sem_post.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i586/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i586/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i586/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i586/sem_post.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i686/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i686/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i686/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i686/sem_post.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_broadcast.S: New file.
* Update.Ulrich Drepper2003-01-281-1/+1
| | | | | | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
* Update.Ulrich Drepper2003-01-171-1/+1
| | | | | | 2003-01-17 Ulrich Drepper <drepper@redhat.com> * Makefile (headers): Add bits/semaphore.h.
* Update.Ulrich Drepper2003-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | 2003-01-14 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INTERNAL_SYSCALL): Make use of ERR parameter. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. Patch by Denis Zaitsev <zzz@cd-club.ru>. that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
* Update.Ulrich Drepper2003-01-141-2/+9
| | | | | | | | 2003-01-13 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add version. Add rules to build version.os and banner.h. * version.c: New file.
* (CFLAGS-pthread_self.c): New definition.Ulrich Drepper2003-01-141-0/+5
|
* Update.Ulrich Drepper2003-01-051-1/+3
| | | | | * Makefile (tests): Add tst-cancel7. (tst-cancel7-ARGS): New variable.
* Update.Ulrich Drepper2003-01-041-1/+1
| | | | | * Makefile (tests): Add tst-cond7. * tst-cond7.c: New file.
* Update.Ulrich Drepper2003-01-031-1/+3
| | | | | | | | | 2003-01-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls): Add rtld_hidden_proto. * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def. (_dl_allocate_tls): Likewise. Remove INTDEF.
* Update.Ulrich Drepper2003-01-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2003-01-02 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with #ifndef LIBC_SIGACTION. * sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction, sigaction): Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction, sigaction): Likewise. Remove SIGCANCEL handling here. * sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction): Likewise.
* Update.Ulrich Drepper2003-01-021-2/+3
| | | | | | | | | | | 2003-01-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding. * condvar.c: Add symbol versioning. The compatibility versions are the same as the change in the interface does not effect this implementation. * Versions [libpthread]: Add definitions for new pthread_cond_* interfaces for version GLIBC_2.3.2.
* ($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, ↵Ulrich Drepper2002-12-311-5/+7
| | | | include that into the output script. Fix comment. (extra-B-pthread.so): Change linuxthreads/ into nptl/.
* Update.Ulrich Drepper2002-12-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-28 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move header.data.list to the back of the struct. * sysdeps/i386/tls.h (tcbhead_t): Move list to the back of the struct. (MULTIPLE_THREADS_OFFSET): Adjust offset. (SYSINFO_OFFSEET): Likewise. 2002-12-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h (USE_DL_SYSINFO): Define. (DL_SYSINFO_DEFAULT): Cast to uintptr_t to avoid warnings. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h (NEED_DL_SYSINFO, DL_SYSINFO_DEFAULT, DL_SYSINFO_IMPLEMENTATION): Define. (USE_DL_SYSINFO): Undef. 2002-12-22 Jakub Jelinek <jakub@redhat.com> * Makefile (tests-reverse): Use $(objpfx)../libc.so instead of $(common-objpfx)libc.so. * tst-cancel4.c (tf_write, tf_writev): Increase buf sizes so that it is bigger than pipe buffer size even on arches with bigger page size. (tf_usleep): Cast usleep argument to useconds_t to avoid warnings.
* 2002-12-22 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-231-0/+3
| | | | * Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).
* Update.Ulrich Drepper2002-12-181-1/+2
| | | | | | | | | | | | | 2002-12-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/stdio-lock.h: New file. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevelmutex.S: New file. * Makefile (routines): Add libc-lowlevelmutex. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Remove __i686.get_pc_thunk.dx.
* Update.Ulrich Drepper2002-12-181-0/+14
| | | | | | | | | | | 2002-12-17 Jakub Jelinek <jakub@redhat.com> * malloc/thread-m.h (mutex_init, mutex_lock, mutex_trylock, mutex_unlock): If not building NPTL, use __libc_maybe_call2 if available, otherwise __libc_maybe_call. * sysdeps/unix/sysv/linux/x86_64/recv.c: Add support for cancellation handling. * sysdeps/unix/sysv/linux/x86_64/send.c: Likewise.
* Update.Ulrich Drepper2002-12-161-7/+8
| | | | | | | | | | | | | | | | | | 2002-12-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE macros instead of doing the calls directly. * sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules. * Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-% targets. 2002-12-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Backout last change. * sysdeps/ieee754/bits/nan.h: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open, __syscall_wait4, __syscall_ioctl, __syscall_write): Add.
* Update.Ulrich Drepper2002-12-151-4/+2
| | | | | | | | | | | | | | | | | | * Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev. * Makefile (libpthread-routines): Remove pt-creat, pt-poll, pt-pselect, pt-readv, pt-select, pt-sigpause, pt-sigsuspend, pt-sigwaitinfo, pt-waitid, and pt-writev. * pt-creat.c: Removed. * pt-poll.c: Removed. * pt-pselect.c: Removed. * pt-readv.c: Removed. * pt-select.c: Removed. * pt-sigpause.c: Removed. * pt-sigsuspend.c: Removed. * pt-sigwaitinfo.c: Removed. * pt-waitid.c: Removed. * pt-writev.c: Removed.