aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-03-102003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath10-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-102003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath5-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.
2003-03-10Definitions for condvar implementation on Linux/x86-64.Ulrich Drepper2-4/+28
2003-03-10Update.Ulrich Drepper2-0/+117
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file.
2003-03-10Update.Ulrich Drepper5-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.
2003-03-10Update.Ulrich Drepper2-0/+3
* sysdeps/unix/sysv/linux/s390/createthread.c: Moved to... * sysdeps/unix/sysv/linux/createthread.c: ...here.
2003-03-09Update.Ulrich Drepper6-511/+703
* po/da.po: Likewise.
2003-03-09Update.Ulrich Drepper1-0/+1
* po/ca.po: Likewise.
2003-03-09Update.Ulrich Drepper2-258/+288
2003-03-09 Ulrich Drepper <drepper@redhat.com> * po/fi.po: Update from translation team.
2003-03-08Update.Ulrich Drepper2-1/+6
2003-03-08 Ulrich Drepper <drepper@redhat.com> * rt/tst-aio7.c (do_test): Change BYTES into a #define.
2003-03-08Update.Ulrich Drepper23-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.
2003-03-08Update.Ulrich Drepper2-3/+11
2003-03-08 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): If mprotect() fails free the TLS memory.
2003-03-07Update.Ulrich Drepper4-27/+20
* rt/tst-aio7.c (do_test): Give buff permanent extend, too.
2003-03-07Update.Ulrich Drepper2-3/+7
2003-03-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
2003-03-07Update.Ulrich Drepper6-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.
2003-03-07Fix a few unused definitions.Ulrich Drepper1-20/+27
2003-03-07* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.Roland McGrath1-0/+5
* sysdeps/s390/s390-64/sysdep.h (L): Likewise.
2003-03-072003-03-07 Roland McGrath <roland@redhat.com>Roland McGrath2-4/+3
* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
2003-03-07Update.Ulrich Drepper3-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.
2003-03-07(__static_tls_align_m1): Renamed from __static_tls_align. ↵Ulrich Drepper1-5/+8
(__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately.
2003-03-07update.Andreas Jaeger1-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-072003-03-04 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger2-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.
2003-03-07Update.Ulrich Drepper5-68/+0
2003-03-06Update.Ulrich Drepper1-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.
2003-03-06(tf_sleep): Lower sleep time a bit to not upset recent kernels.Ulrich Drepper1-2/+2
2003-03-06* rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1Roland McGrath2-9/+9
permanent extent and add a comment about testing its implicit teardown.
2003-03-06* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.Roland McGrath1-0/+4
2003-03-062003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath1-0/+8
* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
2003-03-06Update.Ulrich Drepper1-0/+5
2003-03-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
2003-03-06(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.Ulrich Drepper1-1/+1
2003-03-05* stdio-common/sscanf.c: Use prototype defn with ... syntax.Roland McGrath4-13/+13
* libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.
2003-03-05* sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.Roland McGrath2-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>.
2003-03-05* posix/confstr.c (confstr): Correct STRING_LEN values forRoland McGrath1-0/+6
_CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing break. Reported by Alexandre Julliard <julliard@winehq.com>.
2003-03-052003-03-04 Roland McGrath <roland@redhat.com>Roland McGrath1-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>.
2003-03-04Update.Ulrich Drepper6-21/+85
2003-03-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
2003-03-04Update.Ulrich Drepper3-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.
2003-03-04Update.Ulrich Drepper3-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.
2003-03-04Update.Ulrich Drepper2-4/+16
* sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new clone parameters.
2003-03-04Update.Ulrich Drepper2-1/+3
* misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
2003-03-04Update.Ulrich Drepper1-1/+5
2003-03-04 Ulrich Drepper <drepper@redhat.com> * po/sv.po: Update from translation team. Ulrich Drepper <drepper@redhat.com>
2003-03-04Update from translation team.Ulrich Drepper1-7/+7
2003-03-04Clarify comment.Andreas Jaeger1-19/+24
2003-03-04Update.Andreas Jaeger1-0/+5
2003-03-04 Andreas Jaeger <aj@suse.de> Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.
2003-03-04Update.Ulrich Drepper3-1/+8
* sysdeps/generic/dl-sysdep.h: Add double include protection.
2003-03-04Update.Ulrich Drepper3-38/+9
* sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic version is just fine.
2003-03-04Update.Ulrich Drepper3-3/+3
* po/tr.po: Update from translation team.
2003-03-04Update.Ulrich Drepper2-253/+276
* po/tr.po: Update from translation team.
2003-03-04Update.Ulrich Drepper2-27/+38
* elf/dl-load.c (_dl_map_object_from_fd): Determine whether there are holes between the segments. Only call mprotect to set proection to PROT_NONE if there are some. * elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE. Update comment.
2003-03-03Update.Ulrich Drepper6-12/+26
2003-03-03 Ulrich Drepper <drepper@redhat.com> * include/sched.h (__clone2): Use ... instead of adding all the new parameters.
2003-03-03(pthread_rwlock_timedwrlock): Fix clobber of result variable by ↵Ulrich Drepper1-3/+5
lll_futex_timed_wait call.