about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update.Ulrich Drepper2003-03-076-71/+13
| | | | | | | | | | | | * sysdeps/i386/i486/bits/atomic.h: Fix a few unused definitions. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove all trace of lll_wake_tid. This was used only to work around kernel limits in the early days. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
* Fix a few unused definitions.Ulrich Drepper2003-03-071-20/+27
|
* * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.Roland McGrath2003-03-071-0/+5
| | | | * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
* 2003-03-07 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-072-4/+3
| | | | | * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
* Update.Ulrich Drepper2003-03-073-7/+16
| | | | | | | | | | | | 2003-03-07 Ulrich Drepper <drepper@redhat.com> * init.c (__static_tls_align_m1): Renamed from __static_tls_align. (__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately. * pthreadP.h (__static_tls_align_m1): Renamed from __static_tls_align. * allocatestack.c (allocate_stack): Use __static_tls_align_m1 instead of __static_tls_align-1.
* (__static_tls_align_m1): Renamed from __static_tls_align. ↵Ulrich Drepper2003-03-071-5/+8
| | | | (__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately.
* update.Andreas Jaeger2003-03-071-0/+7
| | | | | | | | | 2003-03-04 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded stubs, we have INLINE_SYSCALL. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, MAP_NONBLOCK.
* 2003-03-04 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger2003-03-072-41/+3
| | | | | | | * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded stubs, we have INLINE_SYSCALL. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, MAP_NONBLOCK.
* Update.Ulrich Drepper2003-03-075-68/+0
|
* 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
|
* * rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1Roland McGrath2003-03-062-9/+9
| | | | permanent extent and add a comment about testing its implicit teardown.
* * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.Roland McGrath2003-03-061-0/+4
|
* 2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath2003-03-061-0/+8
| | | | * rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
* Update.Ulrich Drepper2003-03-061-0/+5
| | | | | | | 2003-03-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
* (_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.Ulrich Drepper2003-03-061-1/+1
|
* * stdio-common/sscanf.c: Use prototype defn with ... syntax.Roland McGrath2003-03-054-13/+13
| | | | | * libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.
* * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.Roland McGrath2003-03-052-13/+11
| | | | | | | (elf_machine_rela): Always use RESOLVE_MAP, needed for R_PPC64_JMP_SLOT as well as TLS cases. (BIT_INSERT): Move parenthesis where it ought to have been. Reported by Steven Munroe <sjmunroe@us.ibm.com>.
* * posix/confstr.c (confstr): Correct STRING_LEN values forRoland McGrath2003-03-051-0/+6
| | | | | _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing break. Reported by Alexandre Julliard <julliard@winehq.com>.
* 2003-03-04 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-051-2/+3
| | | | | | * posix/confstr.c (confstr): Correct STRING_LEN values for _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing break. Reported by Alexandre Julliard <julliard@winehq.com>.
* Update.Ulrich Drepper2003-03-046-21/+85
| | | | | | 2003-03-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
* Update.Ulrich Drepper2003-03-043-2/+15
| | | | | | | * pthread_attr_setstack.c: Moved to... * sysdeps/pthread/pthread_attr_setstack.c: ...here. New file. * pthread_attr_setstackaddr.c: Moved to... * sysdeps/pthread/pthread_attr_setstackaddr.c: ...here. New file.
* Update.Ulrich Drepper2003-03-043-3/+17
| | | | | | | | | | | * pthread_create.c: Define __pthread_keys using nocommon attribute, not by placing it explicitly in bss. Remove DEFINE_DEALLOC definition. Not needed anymore. * allocatestack.c: Define ARCH_MAP_FLAGS if not already defined. Use it in mmap call to allocate stacks. * sysdeps/pthread/createthread.c (create_thread): Fix comment.
* Update.Ulrich Drepper2003-03-042-4/+16
| | | | | * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new clone parameters.
* Update.Ulrich Drepper2003-03-042-1/+3
| | | | * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
* Update.Ulrich Drepper2003-03-041-1/+5
| | | | | | | | 2003-03-04 Ulrich Drepper <drepper@redhat.com> * po/sv.po: Update from translation team. Ulrich Drepper <drepper@redhat.com>
* Update from translation team.Ulrich Drepper2003-03-041-7/+7
|
* Clarify comment.Andreas Jaeger2003-03-041-19/+24
|