about summary refs log tree commit diff
path: root/linuxthreads/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update.Ulrich Drepper2003-04-251-23/+6
| | | | | | | | | * 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-251-0/+35
| | | | | | | | | | | | | | 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-231-0/+5
| | | | around linker bug.
* Update.Ulrich Drepper2003-04-201-0/+4
| | | | | | * 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-201-0/+7
| | | | | | | | | 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.
* * csu/tst-empty.c: New file.Roland McGrath2003-04-121-0/+19
| | | | * csu/Makefile (tests, tests-static): Add it.
* * 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.
* Update.Ulrich Drepper2003-04-031-0/+5
| | | | | | | 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-031-0/+5
| | | | | | | 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.
* * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use theRoland McGrath2003-04-021-0/+15
| | | | IA-64 version.
* * alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: ↵Alexandre Oliva2003-04-011-0/+7
| | | | | | | | | | | 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-251-0/+2
| | | | | | | * 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-251-0/+4
| | | | | | | | | | | | | | | | | | | | 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.
* * sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"Roland McGrath2003-03-221-0/+4
| | | | | | | | | | | | | 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-211-0/+5
|
* * sysdeps/i386/tls.h [__ASSUME_SET_THREAD_AREA_SYSCALL]Roland McGrath2003-03-211-0/+5
| | | | (TLS_SETUP_GS_SEGMENT): Fix a typo.
* Update.Ulrich Drepper2003-03-191-0/+4
| | | | | | 2003-03-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/Makefile: Fix cut&paste error.
* * Versions (libpthread: GLIBC_2.2): RemoveRoland McGrath2003-03-191-0/+7
| | | | | | 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.
* * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't .set mips2 on new ↵Alexandre Oliva2003-03-141-0/+7
| | | | | | | | | | | 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-071-0/+5
| | | | * 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.
* Update.Ulrich Drepper2003-03-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-1/+1
| | | | * 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-021-1/+29
| | | | | | | | | | | | | | | | | | | | | | 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.
* 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-261-5/+0
|
* linuxthreads/ChangeLogRoland McGrath2003-02-251-0/+5
| | | | | | | | 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.
* * malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.Roland McGrath2003-02-221-0/+5
| | | | | | | | | | | | | | | | | | * malloc/thread-freeres.c: New file. * malloc/Makefile (aux): Add it. * sunrpc/Versions (GLIBC_PRIVATE): Removed. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. 2003-02-21 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. * iconvdata/Makefile (tests): Add bug-iconv3 only if [$(have-thread-library) = yes].
* Update.Ulrich Drepper2003-02-211-0/+10
| | | | | | | * sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>: Check for signed overflow, not unsigned. 2003-02-21 Jakub Jelinek <jakub@redhat.com>
* * Makerules: Filter $(install-lib-ldscripts) out of list of targetsRoland McGrath2003-02-211-0/+4
| | | | for libfoo.so that need $(make-link) rules.
* Update.Ulrich Drepper2003-02-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2002-07-24 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV on unknown systems. 2003-02-20 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl if possible. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short interprocedure branches. * sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to... * sysdeps/powerpc/nofpu/Dist: ...here. * sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. * sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete. * sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete. * sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
* UPdate.Ulrich Drepper2003-02-201-0/+5
| | | | | | | 2003-02-19 Ulrich Drepper <drepper@redhat.com> * specific.c (pthread_key_delete_helper): Don't use GETMEM, we need the target thread's lock.
* Update.Ulrich Drepper2003-02-181-0/+5
| | | | | | | 2003-02-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX and LOGIN_NAME_MAX.
* Update.Ulrich Drepper2003-02-171-0/+18
| | | | | | | | | | | 2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca> Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP. * sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling. * sysdeps/powerpc/powerpc32/setjmp.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
* Update.Ulrich Drepper2003-02-151-0/+5
| | | | | | | 2003-02-14 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork): Check pthread_create existance, not __pthread_fork.
* Update.Ulrich Drepper2003-02-121-0/+4
| | | | | | | | | * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION. * posix/conststr.c: Handle these new values. * posix/getconf.c: Likewise. * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
* Update.Ulrich Drepper2003-02-111-0/+19
| | | | | | | | | 2003-02-10 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and _BSD_SOURCE to compiler. * elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings. Patches by Alan Modra.
* Rework: %r9 is destroyed by functions so don't use it as Andreas Jaeger2003-02-101-0/+6
| | | | | | | | | temporary, align stack correctly, fix parameter for CDISABLE. 2003-02-09 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Rework: %r9 is destroyed by functions so don't use it as temporary, align stack correctly, fix parameter for CDISABLE.
* Update.Ulrich Drepper2003-02-081-0/+26
| | | | | | | | | | | | | | | | | | 2003-02-07 Jim Meyering <jim@meyering.net> * io/ftw.c: Add autoconf-recommended block of alloca-related code. Include autoconf-recommended block of dirent/NAMELEN-related definitions and includes. Use NAMELEN throughout, rather than _D_EXACT_NAMLEN. [_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN. [!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd. (stpcpy): Declare, if necessary. (mempcpy): Define, if necessary. [!_LIBC] (__stpcpy, __mempcpy): Define. [!_LIBC] (LXSTAT, XSTAT): Define. (lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat. (find_object): Don't use c99-style struct initializer. Tweak wording in a couple comments.
* * sysdeps/unix/sysv/linux/m68k/vfork.S: Branch to __fork wheneverAndreas Schwab2003-02-081-0/+5
| | | | libpthread.so is loaded.
* Update.Ulrich Drepper2003-02-071-1/+8
| | | | | | | | | | 2003-02-07 Jakub Jelinek <jakub@redhat.com> * resolv/res_libc.c (_res): Ensure _res is not common symbol, so that it can have aliases. * inet/herrno.c (h_errno): Put it into .bss not .data section. Patch by Lance Larsh <Lance.Larsh@oracle.com>.
* Update.Ulrich Drepper2003-02-071-0/+14
| | | | | | | | | | | | | | | | 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.