about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2004-12-282-1/+5
| | | | | | 2004-12-27 Ulrich Drepper <drepper@redhat.com> * include/signal.h: Define __sigemptyset.
* Update.Ulrich Drepper2004-12-221-0/+9
| | | | | | | | | | | | | | 2004-12-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when calling fn is 16 byte aligned. * sysdeps/i386/tst-stack-align.h: New file. * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. (ecvt_r): Special case denormals. * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define. * misc/tst-efgcvt.c: Include float.h. (ecvt_tests): Add 2 new tests.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-22291-12930/+1933
|
* 2.5-18.1Jakub Jelinek2007-07-12290-1914/+12911
|
* Test for stack alignment.Ulrich Drepper2004-12-224-3/+95
|
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/bits/local_lim.h: cvs/fedora-glibc-20041218T2312Roland McGrath2004-12-181-2/+7
| | | | | | | New file removed withdrawn for the moment. * sysdeps/unix/sysv/linux/ia64/bits/posix_>opt.h: Removed.
* 2004-12-18 Roland McGrath <roland@redhat.com>Roland McGrath2004-12-181-89/+0
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/bits/local_lim.h: New file removed withdrawn for the moment.
* * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support ↵Richard Henderson2004-12-173-0/+8
| | | | | | | | | | for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. nptl/ * sysdeps/unix/sysv/linux/alpha/clone.S: New file. * sysdeps/alpha/tcb-offsets.sym (TID_OFFSET): New. 2004-12-17 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used.
* Update.Ulrich Drepper2004-12-172-0/+92
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/bits/local_lim.h: New file. Increased PTHREAD_STACK_MIN.
* Update.Ulrich Drepper2004-12-172-2/+6
| | | | | | 2004-12-16 Ulrich Drepper <drepper@redhat.com> * tst-context1.c (stacks): Use bigger stack size.
* Update.Ulrich Drepper2004-12-163-0/+8
| | | | | | | | | | | | | | | | | 2004-12-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (SYSCALL_ERROR_HANDLER): If RTLD_PRIVATE_ERRNO, use rtld_errno instead of errno. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Include sysdep-cancel.h instead of sysdep.h. Handle cancellation. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Regenerate. * sysdeps/ieee754/ldbl-128/e_expl.c: Include stdlib.h.
* Update.Ulrich Drepper2004-12-154-0/+11
| | | | | | | | | | | | | | | 2004-12-15 Jakub Jelinek <jakub@redhat.com> * nis/nis_domain_of_r.c (nis_domain_of_r): Use libnsl_hidden_def, not libnsl_hidden_proto. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Save and restore r2 around call to fn.
* Update. cvs/fedora-glibc-20041215T0847Ulrich Drepper2004-12-152-0/+7
| | | | | | | 2004-12-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Add support for pid caching in nptl.
* Update.Ulrich Drepper2004-12-153-0/+12
| | | | | | | 2004-12-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add support for pid caching in nptl.
* If child crashes, report this first. Print which signal.Ulrich Drepper2004-12-151-15/+19
|
* Update.Ulrich Drepper2004-12-108-579/+29
| | | | | | | | | | | | | | | | 2004-12-01 Jakub Jelinek <jakub@redhat.com> * posix/tst-regex.c: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 conditionals instead of defined _POSIX_CPUTIME. (main): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME option is available. * posix/tst-regex.c2: Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 conditionals instead of defined _POSIX_CPUTIME. (do_test): If _POSIX_CPUTIME == 0, call sysconf to see if CPUTIME option is available. * sysdeps/posix/sysconf.c (__sysconf): If _POSIX_CPUTIME resp. _POSIX_THREAD_CPUTIME is defined to 0, return -1 for the corresponding _SC_ argument.
* (__pthread_initialize_minimal_internal): Also unblock SIGSETXID.Ulrich Drepper2004-12-091-1/+2
|
* Update.Ulrich Drepper2004-12-076-2/+29
| | | | | | | | 2004-12-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. Restore gp before calling _exit.
* Update.Ulrich Drepper2004-12-072-0/+6
| | | | | | | | 2004-12-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/clone.S: Clear the frame pointer when starting a new thread. Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used.
* bogonRoland McGrath2004-12-051-4/+0
|
* bogonRoland McGrath2004-12-051-6/+0
|
* Update.Ulrich Drepper2004-12-054-1/+110
| | | | | | | | | | | | | | | | 2004-12-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/clone.S: Add support for NPTL where the PID is stored at userlevel and needs to be reset when CLONE_THREAD is not used. * sysdeps/unix/sysv/linux/86_64/clone.S: Likewise. * sysdeps/unix/sysv/linux/arm/clone.S: Update uses of RETINSTR. * sysdeps/unix/sysv/linux/arm/mmap.S: Likewise. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/arm/socket.S: Likewise. * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
* clone syscall implementation for nptl/i386.Ulrich Drepper2004-12-051-0/+2
|
* * extra-lib.mk (object-suffixes-$(lib)): Add .oS when cvs/fedora-glibc-20041203T0935Roland McGrath2004-12-022-9/+14
| | | | | | $(lib)-static-only-routines is nonempty. (extra-objs, o-iterator.mk rule): Filter out .oS from generators. Add a special rule for .oS objects -> _nonshared.a library.
* Update.Ulrich Drepper2004-11-275-0/+45
| | | | | * posix/Makefile (tests): Add tst-sysconf. * posix/tst-sysconf.c: New file.
* Update.Ulrich Drepper2004-11-271-0/+10
| | | | | | | | | | | 2004-11-27 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c (vars): Add support for _SC_IPV6 and _SC_RAW_SOCKETS. * sysdeps/posix/sysconf.c (__sysconf): Add support for _SC_IPV6 and _SC_RAW_SOCKETS. * sysdeps/generic/bits/confname.h: Define _SC_IPV6 and _SC_RAW_SOCKETS.
* Update.Ulrich Drepper2004-11-274-0/+88
| | | | | | | | | | | | | | 2004-11-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR. 2004-11-26 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/mips/pread.c: Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include sgidefs.h twice. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* Update.Ulrich Drepper2004-11-253-2/+11
| | | | * sysdeps/x86_64/Makefile [nptl]: Define CFLAGS-pthread_create.c.
* Update.Ulrich Drepper2004-11-244-0/+14
| | | | | | | | | 2004-11-24 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add pthread_setschedprio. * Versions [libpthread, GLIBC_2.3.4]: Add pthread_setschedprio. * sysdeps/pthread/pthread.h: Declare pthread_setschedprio. * pthread_setschedprio.c: New file.
* Implementation of pthread_setschedprio.Ulrich Drepper2004-11-241-0/+66
|
* Update. cvs/fedora-glibc-20041120T0949Ulrich Drepper2004-11-203-1/+7
| | | | * signal/signal.h: Add nonnull attributes.
* Update.Ulrich Drepper2004-11-208-15/+85
| | | | | | | | | 2004-11-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (SCM_RIGHTS): Avoid comma at the end of enum if __USE_BSD is not defined. (calc_inveclosure, calc_eclosure): Skip OP_DELETED_SUBEXP nodes.
* Update. cvs/fedora-glibc-20041119T0003Ulrich Drepper2004-11-192-1/+7
| | | | | | | 2004-11-17 Randolph Chung <tausq@debian.org> * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind annotations.
* * sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread):Roland McGrath2004-11-171-0/+5
| | | | Make sure SIGCANCEL is blocked as well.
* 2004-11-17 Roland McGrath <roland@redhat.com>Roland McGrath2004-11-171-1/+4
| | | | | * sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread): Make sure SIGCANCEL is blocked as well.
* Update.Ulrich Drepper2004-11-129-9/+1191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. * sysdeps/unix/sysv/linux/setegid.c: Likewise. * sysdeps/unix/sysv/linux/setuid.c: Likewise. * sysdeps/unix/sysv/linux/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/setgid.c: Likewise. * sysdeps/unix/sysv/linux/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/setregid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise. * sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise. Formatting. Change signed int into int. * sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise. * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid): Remove. * sysdeps/unix/setxid.h: New file. * Rules (binaries-static): Add xtests-static. * Makeconfig (run-program-prefix): Filter also xtests-static.
* Update. cvs/fedora-glibc-20041110T0839Ulrich Drepper2004-11-103-1/+87
| | | | | | | 2004-11-10 Jakub Jelinek <jakub@redhat.com> * Makefile (tests): Add tst-exit3. * tst-exit3.c: New test.
* Update.Ulrich Drepper2004-11-092-0/+45
| | | | | | | 2004-11-09 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-exit2. * tst-exit2.c: New file.
* (tests): Add tst-exit2.Ulrich Drepper2004-11-091-1/+1
|
* [BZ #530]Roland McGrath2004-11-091-0/+11
| | | | | | | | | | | | 2004-11-09 Roland McGrath <roland@redhat.com> [BZ #530] * sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads here, before calling clone. * pthread_create.c (start_thread): Don't do it here. 2004-11-04 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: New file.
* [BZ #530]Roland McGrath2004-11-092-3/+12
| | | | | | | | 2004-11-09 Roland McGrath <roland@redhat.com> [BZ #530] * sysdeps/pthread/createthread.c (do_clone): Increment __nptl_nthreads here, before calling clone. * pthread_create.c (start_thread): Don't do it here.
* * debug/tst-chk1.c (ret): New volatile variable.Roland McGrath2004-11-032-0/+5
| | | | | (CHK_FAIL_END): Remove redundant ret setting. (do_test): Remote ret variable.
* Update.Ulrich Drepper2004-10-291-0/+6
| | | | | | | | 2004-10-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait): Set ETIMEDOUT to errno when time is up. Tweak to avoid assembler warning.
* (sem_timedwait): Set ETIMEDOUT to errno when time is up. Tweak to avoid ↵Ulrich Drepper2004-10-291-4/+6
| | | | assembler warning.
* Update.Ulrich Drepper2004-10-282-2/+9
| | | | | | | 2004-10-28 Jakub Jelinek <jakub@redhat.com> * pthread_create.c (__pthread_create_2_1): Avoid leaking stacks if sched_priority is not between minprio and maxprio.
* Update.Ulrich Drepper2004-10-253-1/+57
| | | | | | | | | | | | | 2004-10-25 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h: Include sysdep.h. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add CFI directives. (elf_machine_runtime_setup): Add always_inline attribute. (_dl_start_user): Pass the correct environ. (elf_machine_rela): Replace static inline by auto inline, add always_inline attribute. (elf_machine_rela_relative): Likewise. (elf_machine_lazy_rel): Likewise.
* Update.Ulrich Drepper2004-10-242-3/+9
| | | | * resolv/nss_dns/dns-host.c: Avoid using PLTs.
* Update.Ulrich Drepper2004-10-211-0/+7
| | | | | | | | | 2004-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/lowlevellock.S (__lll_mutex_timedlock_wait): If woken but cannot get the lock, make sure 2 is stored in the futex and we looked at the old value. Fix a few other problems to return the correct value.
* (__lll_mutex_timedlock_wait): If woken but cannot get the lock, make sure 2 ↵Ulrich Drepper2004-10-211-4/+11
| | | | is stored in the futex and we looked at the old value. Fix a few other problems to return the correct value.
* Pretty printing.Ulrich Drepper2004-10-181-2/+0
|