about summary refs log tree commit diff
path: root/linuxthreads
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-05-061-0/+5
| | | | | | | | | | | * 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.
* Update.Ulrich Drepper2003-05-061-3/+3
| | | | | | | 2003-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [!SHARED]: Call __libc_check_standard_fds after __libc_init_first.
* * 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-04-261-0/+5
| | | | | | | 2003-04-26 Ulrich Drepper <drepper@redhat.com> * pthread.c (__pthread_initialize_manager): Remove one last p_multiple_threads call.
* (__pthread_initialize_manager): Remove one last p_multiple_threads call.Ulrich Drepper2003-04-261-1/+1
|
* Update.Ulrich Drepper2003-04-267-25/+13
| | | | | | | | | | | | | | | | | * nscd/cache.c (cache_search): Keep track of how many chain links we searched and update table statistics. (cache_add): Keep track of how many values are in the table. (prune_cache): Likewise. Keep track of locking success. Print messages about removed entries in separate pass. * nscd/connections.c (handle_request): Don't print debug message here. The caller will do it. Keep track of locking success. (nscd_run): Print debug message. Also print PID of the client process. * nscd/nscd.c (start_time): New variable. (main): Remember start time. * nscd/nscd.h: Declare start_time. (struct database): Add more members for new statistics. * nscd/nscd_stat.c: Add support for sending, receiving, and printing of new statistics.
* Update.Ulrich Drepper2003-04-255-34/+32
| | | | | | | | | * 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-2512-62/+100
| | | | | | | | | | | | | | 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-202-2/+10
| | | | | | * sysdeps/i386/useldt.h (DO_SET_THREAD_AREA): Make sure the compiler knows we use the ldt_entry variable and that the syscall modifies the memory.
* Update.Ulrich Drepper2003-04-204-60/+97
| | | | | | | | | 2003-04-20 Ulrich Drepper <drepper@redhat.com> * internals.h: Split pthread_functions definition into... * sysdeps/pthread/pthread-functions.h: ...new file. * sysdeps/i386/useldt.h: Include <sysdep.h>.
* * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros toRoland McGrath2003-04-131-0/+5
| | | | match changes in NPTL sysdep-cancel.h.
* 2003-04-13 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-131-12/+41
| | | | | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to match changes in NPTL sysdep-cancel.h.
* * csu/tst-empty.c: New file.Roland McGrath2003-04-121-0/+19
| | | | * csu/Makefile (tests, tests-static): Add it.
* 2003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-122-20/+0
| | | | | | | | * 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-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-111-4/+32
| | | | | | | | | | | | | | | | | | * Makefile (multidir): Don't set the variable here with $(shell ...). ($(objpfx)multidir.mk): New target, generated makefile; include that. (generated): Append it. 2003-04-10 Jakub Jelinek <jakub@redhat.com> * Makefile (multidir, crti-objs, crtn-objs): New variables. (generated-dirs): Add pathname component of multidir. (omit-deps, extra-objs): Include $(multidir)/crt? as well. ($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well. ($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o, $(objpfx)$(multidir)/crtn.o): New. * sysdeps/unix/sysv/linux/sparc/Makefile: Removed. * sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so, before-compile, generated): Don't generate and use specs. ($(objpfx)specs): Remove.
* * string/test-strcmp.c (do_random_tests): Test whether return valueRoland McGrath2003-04-111-0/+4
| | | | | | | | | has been promoted to wordsize if the ABI requires caller to do so. * string/test-strncmp.c (do_random_tests): Likewise. * string/test-memcmp.c (do_random_tests): Likewise. * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN before returning.
* 2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath2003-04-111-1/+1
| | | | * sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
* Update.Ulrich Drepper2003-04-032-1/+6
| | | | | | | 2003-04-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test for atomic_compare_and_exchange_bool_acq failure.
* Update.Ulrich Drepper2003-04-032-0/+9
| | | | | | | 2003-04-03 Jakub Jelinek <jakub@redhat.com> * pthread.c (pthread_initialize): Unblock __pthread_sig_cancel in case the parent blocked it.
* * Makefile (libpthread-routines): Add pthread_atfork.Roland McGrath2003-04-021-0/+5
| | | | (libpthread-static-only-routines): Add pthread_atfork.
* 2003-04-02 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-021-1/+2
| | | | | * Makefile (libpthread-routines): Add pthread_atfork. (libpthread-static-only-routines): Add pthread_atfork.
* * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use theRoland McGrath2003-04-0211-4/+253
| | | | IA-64 version.
* * alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: ↵Alexandre Oliva2003-04-015-4/+15
| | | | | | | | | | | Include linuxthreads/internals.h. * sysdeps/pthread/herrno-loc.c: Likewise. * sysdeps/pthread/res-state.c: Likewise. 2003-03-31 Alexandre Oliva <aoliva@redhat.com> * alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: Include linuxthreads/internals.h. * sysdeps/pthread/herrno-loc.c: Likewise. * sysdeps/pthread/res-state.c: Likewise.
* Update.Ulrich Drepper2003-03-253-0/+132
| | | | | | | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): Likewise.
* Update.Ulrich Drepper2003-03-252-0/+69
| | | | | | | | | | | | | | | | | | | | 2003-03-25 Ulrich Drepper <drepper@redhat.com> * csu/tst-atomic.c: Adjust tests to what atomic_add_negative and atomic_add_zero were supposed to do. * include/atomic.h: Adjust atomic_add_negative and atomic_add_zero to x86 behavior. * sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*. This matches the new timer implementation. * sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust timer info for what the kernel provides these days. (struct sigevent): Add _tid field. Define SIGEV_THREAD_ID. * Versions.def (librt): Add GLIBC_2.3.3. * abilist/libpthread.abilist: Update for nptl.
* * sysdeps/unix/sysv/linux/arm/sysdep-cancel.hRoland McGrath2003-03-251-0/+5
| | | | (DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
* 2003-03-24 Daniel Jacobowitz <drow@mvista.com>Roland McGrath2003-03-251-0/+9
| | | | | * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
* * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"Roland McGrath2003-03-222-0/+5
| | | | | | | | | | | | | constraint to permit non-constant BIT argument. (atomic_bit_test_set): Likewise. * sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise. (atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32. For quadword case, use "i" constraint if __builtin_constant_p and < 32 or "r" constraint otherwise. * configure.in: Move AC_PROG_CC and other program-finding before all the version checks. * configure: Regenerated.
* * sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.Roland McGrath2003-03-212-1/+6
|
* * sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL]Roland McGrath2003-03-211-0/+5
| | | | (TLS_SETUP_GS_SEGMENT): Fix a typo.
* 2003-03-21 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-211-1/+1
| | | | | * sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL] (TLS_SETUP_GS_SEGMENT): Fix a typo.
* Update.Ulrich Drepper2003-03-192-1/+5
| | | | | | 2003-03-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/Makefile: Fix cut&paste error.
* * Versions (libpthread: GLIBC_2.2): RemoveRoland McGrath2003-03-192-2/+10
| | | | | | pthread_barrierattr_getpshared, never really existed. (libpthread: GLIBC_2.0): Move __pthread_initialize to ... (libpthread: GLIBC_PRIVATE): ... here.
* * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.Roland McGrath2003-03-141-0/+6
| | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
* 2003-03-14 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-142-1/+6
| | | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file. * sysdeps/unix/sysv/linux/sparc/Makefile ($(objpfx)specs): Use full path for crt[in].o.
* * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't .set mips2 on new ↵Alexandre Oliva2003-03-143-2/+22
| | | | | | | | | | | abi. * sysdeps/mips/pt-machine.h (__compare_and_swap): Likewise. Handle 64-bit longs on n64. 2003-03-14 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't .set mips2 on new abi. * sysdeps/mips/pt-machine.h (__compare_and_swap): Likewise. Handle 64-bit longs on n64.
* Update.Ulrich Drepper2003-03-072-26/+17
| | | | * rt/tst-aio7.c (do_test): Give buff permanent extend, too.
* Update.Ulrich Drepper2003-03-061-0/+5
| | | | | | | 2003-03-06 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset recent kernels.
* (tf_sleep): Lower sleep time a bit to not upset recent kernels.Ulrich Drepper2003-03-061-2/+2
|
* Update.Ulrich Drepper2003-03-032-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only if not already defined. Use SYSDEP_GETRES to allow other files to provide alternative implementations. * sysdeps/unix/sysv/linux/clock_getres.c: New file * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only if not already defined. Use SYSDEP_GETTIME to allow other files to provide alternative implementations. * sysdeps/unix/sysv/linux/clock_gettime.c: New file. * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only if not already defined. Use SYSDEP_GETTIME to allow other files to provide alternative implementations. * sysdeps/unix/sysv/linux/clock_settime.c: New file. * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow other files to provide alternative implementations. Rearrange tests for invalid parameters. * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. * sysdeps/unix/sysv/linux/sysconf.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_POSIX_TIMERS for Linux 2.4.63 and up. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_MONOTONIC_CLOCK.
* Update.Ulrich Drepper2003-03-033-3/+9
| | | | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* Update.Ulrich Drepper2003-03-031-0/+6
| | | | | | | | 2003-03-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_MONOTONIC_CLOCK. * linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):Roland McGrath2003-03-0214-52/+131
| | | | | | | | | | | | | | | | | | | | | | Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. (elf_machine_rela): Clean up. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>. * sysdeps/powerpc/powerpc32/elf/configure.in: New file. * sysdeps/powerpc/powerpc32/elf/configure: New generated file. * elf/tls-macros.h [__powerpc__ && !__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support new relocs for TLS. * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these macros out of [SHARED]. (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. * elf/elf.h: Define R_PPC_* relocs for TLS support. Clean up R_PPC64_* macro definition comments.
* * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):Roland McGrath2003-02-271-0/+5
| | | | | | | Rename argument to avoid symbol conflict. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h [__USE_GNU] (O_DIRECT): New macro.
* 2003-02-27 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-271-4/+89
| | | | | * sysdeps/powerpc/tls.h [HAVE_TLS_SUPPORT]: Define USE_TLS and all related macros.
* Pretty printing.Ulrich Drepper2003-02-271-1/+1
| | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S [SHARED]:
* * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.Roland McGrath2003-02-261-0/+5
| | | | * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
* Revert unintentional commits.Roland McGrath2003-02-265-144/+3
|
* linuxthreads/ChangeLogRoland McGrath2003-02-256-6/+149
| | | | | | | | 2003-02-25 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file.