aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-03-102003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath
* 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 McGrath
* 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 Drepper
2003-03-10Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file.
2003-03-10Update.Ulrich Drepper
* 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 Drepper
* sysdeps/unix/sysv/linux/s390/createthread.c: Moved to... * sysdeps/unix/sysv/linux/createthread.c: ...here.
2003-03-09Update.Ulrich Drepper
* po/da.po: Likewise.
2003-03-09Update.Ulrich Drepper
* po/ca.po: Likewise.
2003-03-09Update.Ulrich Drepper
2003-03-09 Ulrich Drepper <drepper@redhat.com> * po/fi.po: Update from translation team.
2003-03-08Update.Ulrich Drepper
2003-03-08 Ulrich Drepper <drepper@redhat.com> * rt/tst-aio7.c (do_test): Change BYTES into a #define.
2003-03-08Update.Ulrich Drepper
* 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 Drepper
2003-03-08 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): If mprotect() fails free the TLS memory.
2003-03-07Update.Ulrich Drepper
* rt/tst-aio7.c (do_test): Give buff permanent extend, too.
2003-03-07Update.Ulrich Drepper
2003-03-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
2003-03-07Update.Ulrich Drepper
* 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 Drepper
2003-03-07* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.Roland McGrath
* sysdeps/s390/s390-64/sysdep.h (L): Likewise.
2003-03-072003-03-07 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
2003-03-07Update.Ulrich Drepper
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 Drepper
(__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately.
2003-03-07update.Andreas Jaeger
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 Jaeger
* 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 Drepper
2003-03-06Update.Ulrich Drepper
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 Drepper
2003-03-06* rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1Roland McGrath
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 McGrath
2003-03-062003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath
* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
2003-03-06Update.Ulrich Drepper
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 Drepper
2003-03-05* stdio-common/sscanf.c: Use prototype defn with ... syntax.Roland McGrath
* libio/swscanf.c: Likewise. * libio/swprintf.c: Likewise.
2003-03-05* sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.Roland McGrath
(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 McGrath
_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 McGrath
* 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 Drepper
2003-03-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
2003-03-04Update.Ulrich Drepper
* 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 Drepper
* 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 Drepper
* sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new clone parameters.
2003-03-04Update.Ulrich Drepper
* misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
2003-03-04Update.Ulrich Drepper
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 Drepper
2003-03-04Clarify comment.Andreas Jaeger
2003-03-04Update.Andreas Jaeger
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 Drepper
* sysdeps/generic/dl-sysdep.h: Add double include protection.
2003-03-04Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic version is just fine.
2003-03-04Update.Ulrich Drepper
* po/tr.po: Update from translation team.
2003-03-04Update.Ulrich Drepper
* po/tr.po: Update from translation team.
2003-03-04Update.Ulrich Drepper
* 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 Drepper
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 Drepper
lll_futex_timed_wait call.