about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2003-03-11 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-03-114-29/+106
| | | | | | | | | | | | | | | | | * sysdeps/pthread/createthread.c (ARCH_CLONE): Define if not defined. (create_thread): Only assert PD->tcb != NULL under [TLS_TCB_AT_TP]. Use ARCH_CLONE. * allocatestack.c (ALLOCATE_STACK_PARMS): New macro. [NEED_SEPARATE_REGISTER_STACK] (STACK_VARIABLES, STACK_VARIABLES_ARGS, STACK_VARIABLES_PARMS, ALLOCATE_STACK_PARMS, ALLOCATE_STACK): New macros. (TLS_TPADJ): New macro. (get_cached_stack, queue_stack, __deallocate_stack): Use TLS_TPADJ. (allocate_stack): Handle TLS_DTV_AT_TP and NEED_SEPARATE_REGISTER_STACK. Use TLS_TPADJ. * pthread_create.c (__pthread_create_2_1) [! TLS_TCB_AT_TP]: Don't set PD->self. * init.c [__ia64__] (__NR_set_tid_address): Define.
* pthread_cond_signal implementation for Linux/x86-64.Ulrich Drepper2003-03-112-0/+202
|
* Update.Ulrich Drepper2003-03-116-2/+358
| | | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/sem_post.S: New file. * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: New file. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Fix error value in unused code.
* Update.Ulrich Drepper2003-03-114-12/+133
| | | | | | * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: New file * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
* Update.Ulrich Drepper2003-03-113-1/+18
| | | | | | | | * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add lowlevelbarrier.sym. * sysdeps/unix/sysv/linux/lowlevelbarrier.sym: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Include lowlevelbarrier.h and don't define offsets locally.
* Update.Ulrich Drepper2003-03-115-9/+212
| | | | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_mutex_lock_wait): Reverse order of first two parameters. (__lll_mutex_timedlock_wait): Likewise. (lll_mutex_lock): Adjust asm for that. (lll_mutex_timedlock): Likewise. Mark cx, cc, r10 as clobbered. (lll_lock): Adjust asm for operand order change. * sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/x86_64/libc-lowlevelmutex.S: New file.
* Update.Ulrich Drepper2003-03-114-2/+206
| | | | | | | | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_lock_wait): Reverse order of parameters. (__lll_timedwait_tid): Remove regparms attribute. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: New file. * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: New file.
* Update.Ulrich Drepper2003-03-112-3/+4
| | | | | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_timedwait_tid): Remove one unnecessary instruction.
* Update.Ulrich Drepper2003-03-105-342/+19
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define __lll_mutex_timedlock_wait only for NOT_IN_libc. * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include lowlevelmutex.S. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define lll_unlock_wake_cb, __lll_wait_tid, and __lll_timedwait_tid only for NOT_IN_libc. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Include lowlevellock.S.
* Fix typo.Ulrich Drepper2003-03-101-1/+1
| | | | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Not needed anymore.
* Update.Ulrich Drepper2003-03-103-72/+22
| | | | | | | | | * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Don't define LOCK is already defined. Don't define __lll_mutex_timedlock_wait for libc.so. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Only define LOCK here (if UP is not defined). The actual code is in lowlevelmutex.S.
* Update.Ulrich Drepper2003-03-103-71/+25
| | | | | | | | | * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Don't define LOCK is already defined. Don't define lll_unlock_wake_cb and __lll_timedwait_tid for libc.so. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Only define LOCK here (if UP is not defined). The actual code is in lowlevellock.S.
* Update.Ulrich Drepper2003-03-103-56/+1
| | | | * sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: Removed.
* Update.Ulrich Drepper2003-03-106-81/+16
| | | | | | | | | * sysdeps/unix/sysv/linux/s390/lowlevelsem.h: Likewise. * sysdeps/unix/sysv/linux/s390/sem_post.c: Include lowlevellock.h instead of lowlevelsem.h. * sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Likewise. * sysdeps/unix/sysv/linux/s390/sem_trywait.c: Likewise. * sysdeps/unix/sysv/linux/s390/sem_wait.c: Likewise.
* Update.Ulrich Drepper2003-03-101-0/+2
| | | | * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: New needed anymore.
* Not needed at all.Ulrich Drepper2003-03-101-116/+0
|
* 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-03-101-0/+5
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. Copy extra params for NPTL to registers used in clone syscall.
* 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-03-101-3/+8
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. Copy extra params for NPTL to registers used in clone syscall.
* Update.Ulrich Drepper2003-03-103-1/+20
| | | | | | | * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add lowlevelrwlock.sym. * sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file. * sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.
* Update.Ulrich Drepper2003-03-102-2/+7
| | | | | | | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix register loading. * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo last changed. D'oh.
* (lll_trylock): Undo last changed. D'oh.Ulrich Drepper2003-03-101-2/+2
|
* * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct systemRoland McGrath2003-03-104-10/+29
| | | | call names for pread and pwrite.
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-101-2/+1
| | | | | | | * td_ta_thr_iter.c (iterate_thread_list): Don't use `header.data.' prefix for `struct pthread' members. * td_thr_validate.c (check_thread_list): Likewise. * td_thr_tls_get_addr.c (td_thr_tls_get_addr): Likewise.
* Update.Ulrich Drepper2003-03-101-0/+6
| | | | | | | | 2003-03-10 Ulrich Drepper <drepper@redhat.com> * td_ta_thr_iter.c: Update for TCB change. * td_thr_tls_get_addr.c: Likewise. * td_thr_validate.c: Likewise.
* Update for TC change.Ulrich Drepper2003-03-103-7/+6
|
* * dlfcn/Makefile (libdl-routines): Add dladdr1.Roland McGrath2003-03-102-2/+16
| | | | | | | | | | | | | | | * dlfcn/dladdr1.c: New file. * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and a const ElfNN_Sym ** to fill in. * include/dlfcn.h: Update decl. Include <link.h>. * dlfcn/dladdr.c (dladdr): Update caller. * malloc/mtrace.c (tr_where): Likewise. * sysdeps/generic/elf/backtracesyms.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. * Versions.def (libdl): Define GLIBC_2.3.3 set.
* Update.Ulrich Drepper2003-03-101-0/+14
| | | | | | | | | | | | | | | | | 2003-03-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove declaration of __libc_locking_needed. (lll_trylock): Initialize %eax to zero. * sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: New file. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Update pthread_cond_t definition. * sysdeps/unix/sysv/linux/x86_64/fork.c: New file.
* Lowlevel lock definitions for x86-64/Linux.Ulrich Drepper2003-03-101-0/+293
|
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-1011-13/+79
| | | | | | | | | | | | | | | | * dlfcn/Makefile (libdl-routines): Add dladdr1. * dlfcn/dladdr1.c: New file. * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and a const ElfNN_Sym ** to fill in. * include/dlfcn.h: Update decl. Include <link.h>. * dlfcn/dladdr.c (dladdr): Update caller. * malloc/mtrace.c (tr_where): Likewise. * sysdeps/generic/elf/backtracesyms.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. * Versions.def (libdl): Define GLIBC_2.3.3 set.
* * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) forRoland McGrath2003-03-105-2/+69
| | | | | | | | | | | | | | | | | | assembler command. * sysdeps/unix/Makefile (compile-syscall): New variable. Pass -g0 to compiler for assembling syscall stubs from stdin. * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): Define these to do nothing. * configure.in: New check for -g on .S files. * configure: Regenerated. * config.make.in (have-cpp-asm-debuginfo): New variable. * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. * Makeconfig (ASFLAGS): New variable, if undefined and $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-106-6/+102
| | | | | | | | | | * configure.in: New check for -g on .S files. * configure: Regenerated. * config.make.in (have-cpp-asm-debuginfo): New variable. * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. * Makeconfig (ASFLAGS): New variable, if undefined and $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
* (lll_trylock): Initialize %eax to zero.Ulrich Drepper2003-03-101-1/+1
|
* Remove declaration of __libc_locking_needed.Ulrich Drepper2003-03-101-3/+0
|
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new argsRoland McGrath2003-03-101-1/+6
| | | | | | used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>. * rt/tst-aio7.c (do_test): Give BUFF permanent extent, too.
* 2003-03-09 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-101-1/+7
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
* (lll_trylock): Initialize %eax to zero.Ulrich Drepper2003-03-101-1/+1
|
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-1010-63/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | * allocatestack.c (allocate_stack) [!TLS_MULTIPLE_THREADS_IN_TCB]: Instead of setting PD->multiple_threads, set globals __pthread_multiple_threads and __libc_multiple_threads. * sysdeps/pthread/createthread.c (create_thread): Likewise. * sysdeps/i386/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it. * sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Likewise. * descr.h (struct pthread): Conditionalize first member on [!TLS_DTV_AT_TP]. Replace the `header' member with an anonymous union containing an anonymous tcbhead_t. Move `list' member out. [TLS_MULTIPLE_THREADS_IN_TCB]: Define a `multiple_threads' member. * allocatestack.c: Remove use of `header.data.' prefix. * pthread_create.c: Likewise. * init.c (__pthread_initialize_minimal_internal): Likewise. * sysdeps/pthread/createthread.c (create_thread): Likewise. * sysdeps/i386/tls.h (INSTALL_DTV): Add parens. (THREAD_SELF, THREAD_DTV, INSTALL_NEW_DTV): No `header.data.' prefix. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/i386/tls.h (tcbhead_t): Remove `list' member. * sysdeps/s390/tls.h (tcbhead_t): Likewise.
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-105-70/+12
| | | | | | | | * sysdeps/unix/sysv/linux/lowlevelcond.sym: New file. * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/sh/lowlevelcond.h: File removed. * sysdeps/unix/sysv/linux/i386/lowlevelcond.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: Likewise.
* Definitions for condvar implementation on Linux/x86-64.Ulrich Drepper2003-03-102-4/+28
|
* Update.Ulrich Drepper2003-03-102-0/+117
| | | | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file.
* Update.Ulrich Drepper2003-03-105-64/+63
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Fix many leftovers from the ia32 code. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove unneccessary memory load. (clear_once_control): Don't load %esi. * sysdeps/x86_64/tls.h: Remove all traces of segment descriptor handling. * sysdeps/unix/sysv/linux/x86_64/fork.c: New file.
* Update.Ulrich Drepper2003-03-102-0/+3
| | | | | * sysdeps/unix/sysv/linux/s390/createthread.c: Moved to... * sysdeps/unix/sysv/linux/createthread.c: ...here.
* Update.Ulrich Drepper2003-03-096-511/+703
| | | | * po/da.po: Likewise.
* Update.Ulrich Drepper2003-03-091-0/+1
| | | | * po/ca.po: Likewise.
* Update.Ulrich Drepper2003-03-092-258/+288
| | | | | | 2003-03-09 Ulrich Drepper <drepper@redhat.com> * po/fi.po: Update from translation team.
* Update.Ulrich Drepper2003-03-082-1/+6
| | | | | | 2003-03-08 Ulrich Drepper <drepper@redhat.com> * rt/tst-aio7.c (do_test): Change BYTES into a #define.
* Update.Ulrich Drepper2003-03-0823-85/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call. * tst-signal3.c (do_test): Likewise. * tst-sem5.c (do_test): Likewise. * tst-kill6.c (do_test): Likewise. * tst-tls3.c (do_test): Likewise. Include <errno.h>. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead of inc/dec. * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* Update.Ulrich Drepper2003-03-082-3/+11
| | | | | | | 2003-03-08 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): If mprotect() fails free the TLS memory.
* Update.Ulrich Drepper2003-03-074-27/+20
| | | | * rt/tst-aio7.c (do_test): Give buff permanent extend, too.
* Update.Ulrich Drepper2003-03-072-3/+7
| | | | | | 2003-03-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.