about summary refs log tree commit diff
path: root/nptl/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Update.Ulrich Drepper2003-02-151-1/+8
| | | | | | | | | | | 2003-02-15 Ulrich Drepper <drepper@redhat.com> * pthread_setconcurrency.c (pthread_setconcurrency): Fail for negative arguments. * Makefile (tests): Add tst-basic5. * tst-basic5.c: New file. after thread is done. If then zero, call exit(0).
* Update.Ulrich Drepper2003-02-151-0/+3
| | | | | * math/libm-test.inc (nextafter_test): New test, but disabled due to gcc bug.
* Update.Ulrich Drepper2003-02-141-0/+14
| | | | | | | 2003-02-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread counter and only call __exit_thread if this is not the last thread.
* Update.Ulrich Drepper2003-02-141-0/+10
| | | | | | | | | | | | * descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK. * init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval. * pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT if asynchronous canceling is enabled. * pthread_join.c (pthread_join): When recognizing circular joins, take into account the other thread might be already canceled. * Makefile (tests): Add tst-join5. * tst-join5.c: New file.
* Update.Ulrich Drepper2003-02-141-0/+9
| | | | | | | | | | | 2003-02-14 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-join4. * tst-join4.c: New file. 2003-02-13 Ulrich Drepper <drepper@redhat.com> * tst-cond4.c (main): Add test of pthread_attr_getpshared.
* Update.Ulrich Drepper2003-02-141-0/+11
| | | | | | | 2003-02-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of subtracting map->l_tls_offset.
* Update.Ulrich Drepper2003-02-141-0/+7
| | | | | | | | | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Fix handling of cancellation and failung pthread_mutex_unlock call. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * Makefile (tests): Add tst-cond8 and tst-cond9. * tst-cond8.c: New file. * tst-cond9.c: New file.
* Update.Ulrich Drepper2003-02-141-0/+5
| | | | | | | * tst-cond7.c (do_test): Unlock the mutex before canceling the thread. * sysdeps/pthread/pthread.h: Add missing initializers. Protect non-standard initializers with __USE_GNU.
* Update.Ulrich Drepper2003-02-131-0/+5
| | | | | | | 2003-02-13 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-cleanup3. * tst-cleanup3.c: New file.
* Update.Ulrich Drepper2003-02-131-0/+4
| | | | | | * Makefile (tests): Add tst-attr1 and tst-attr2. * tst-attr1.c: New file. * tst-attr2.c: New file.
* Update.Ulrich Drepper2003-02-131-0/+16
| | | | | | | | | | | | | | | | | | * Makefile: Add rules to build and run tst-atfork2 test. * tst-atfork2.c: New file. * tst-atfork2mod.c: New file. * sysdeps/unix/sysv/linux/unregister-atfork.c (__unregister_atfork): Free the memory allocated for the handlers after removing them from the lists. * sysdeps/unix/sysv/linux/register-atfork.c: Define memeory cleanup function. * tst-atfork1.c (do_test): Wait for the child we forked. Report error in child. * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Fix comment.
* 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/+3
| | | | | * Makefile (tests): Add tst-cancel8. * tst-cancel8.c: New file.
* Update.Ulrich Drepper2003-02-101-1/+2
| | | | | * Makefile (tests): Add tst-once3 and tst-once4. * tst-once4.c: New file.
* Update.Ulrich Drepper2003-02-101-0/+7
| | | | | | | | | 2003-02-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix clearing of control variable. * Makefile (tests): Add tst-once3. * tst-once3.c: New file.
* Update.Ulrich Drepper2003-02-101-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/Makefile: New file. * sysdeps/sh/bits/atomic.h: New file. * sysdeps/sh/pthread_spin_init.c: New file. * sysdeps/sh/pthread_spin_lock.c: New file. * sysdeps/sh/pthread_spin_trylock.S: New file. * sysdeps/sh/pthread_spin_unlock.S: New file. * sysdeps/sh/pthreaddef.h: New file. * sysdeps/sh/tcb-offsets.sym: New file. * sysdeps/sh/td_ta_map_lwp2thr.c: New file. * sysdeps/sh/tls.h: New file. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: New file. * sysdeps/unix/sysv/linux/sh/bits/semaphore.h: New file. * sysdeps/unix/sysv/linux/sh/createthread.c: New file. * sysdeps/unix/sysv/linux/sh/fork.c: New file. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: New file. * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: New file. * sysdeps/unix/sysv/linux/sh/lowlevelcond.h: New file. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: New file. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: New file. * sysdeps/unix/sysv/linux/sh/pt-initfini.c: New file. * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_once.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/sh/sem_post.S: New file. * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/sh/sem_wait.S: New file. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: New file.
* Update.Ulrich Drepper2003-02-081-0/+7
| | | | | | | | | 2003-02-08 Ulrich Drepper <drepper@redhat.com> * tst-cond2.c: Rearrange code to not rely on behavior undefined according to POSIX. * tst-basic2.c (do_test): Lock mutex before creating the thread.
* Update.Ulrich Drepper2003-02-071-0/+5
| | | | | | | * sysdeps/x86_64/tls.h: Remove unnecessary macros, left over from x86. (TLS_GET_FS): New #define. (TLS_SET_FS): New #define. Correct value of __NR_set_thread_area.
* Update.Ulrich Drepper2003-02-071-0/+4
| | | | | | 2003-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/td_ta_map_lwp2thr.c: New file.
* Update.Ulrich Drepper2003-02-071-0/+3
| | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-02-061-0/+9
| | | | | | | | | | | 2003-02-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Remove wrong but inactive generalization. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. Minor optimization, remove one instruction. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
* Update.Ulrich Drepper2003-02-051-0/+51
| | | | | | | | 2003-02-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_once): Set control variable for non-libpthread case to the same value the pthread_once function would use.
* Update.Ulrich Drepper2003-02-051-1/+2
| | | | | * atomic.h: Add a couple more default implementations. (atomic_compare_and_exchange_acq): Use
* Update.Ulrich Drepper2003-02-051-1/+4
| | | | | | | * atomic.h (atomic_compare_and_exchange_acq): Use __arch_compare_and_exchange_32_acq in return value definition. It always exists. (atomic_bit_set): Renamed from atomic_set_bit.
* Update.Ulrich Drepper2003-02-051-1/+2
| | | | | * atomic.h (atomic_bit_set): Renamed from atomic_set_bit. Add missing atomic_ prefixes.
* Update.Ulrich Drepper2003-02-051-0/+2
| | | | * atomic.h: Add missing atomic_ prefixes.
* Update.Ulrich Drepper2003-02-051-0/+9
| | | | | | | 2003-02-04 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build and run bug-iconv3. * iconvdata/bug-iconv3.c: New file.
* Fix typo.Ulrich Drepper2003-02-031-1/+1
| | | | (__lll_lock_wait): Add branch prediction.
* Update.Ulrich Drepper2003-02-031-0/+2
| | | | | | | | | | | 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Include kernel-features.h * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* Update.Ulrich Drepper2003-02-031-0/+6
| | | | | | | | 2003-02-03 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): Implement coloring of the allocated stack memory. Rename pagesize to pagesize_m1. It's the size minus one. Adjust users.
* Update.Ulrich Drepper2003-02-031-0/+2
| | | | * allocatestack.c: Improve comment throughout the file.
* Update.Ulrich Drepper2003-02-031-0/+8
| | | | | | | | | | 2003-02-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_lock_wait): Add branch predicition. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S (__lll_lock_wait): Likewise. (lll_unlock_wake_cb): Removed.
* Update.Ulrich Drepper2003-02-011-0/+5
| | | | | | | 2003-01-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove _POSIX_THREAD_PRIORITY_SCHEDULING.
* Update.Ulrich Drepper2003-01-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-07 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c (sYSMALLOc): Only check for breakage due to foreign sbrk()'s if arena is contiguous. Bug report from Bruno Haible <bruno@clisp.org>. 2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/s390/libc-tls.c: Include stdlib.h. 2003-01-30 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of ps.__count. 2003-01-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and restoring of %r6. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use 64-bit load. Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>. 2003-01-30 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error... (allocate_static_tls): ...here. Add __attribute_noinline__. Don't return on failure. (_dl_reloc_bad_type): Add __attribute_noinline__. * elf/do-rel.h (elf_dynamic_do_rel): Add __attribute__((always_inline)). * elf/dynamic-link.h (elf_machine_rel, elf_machine_rela, elf_machine_rel_relative, elf_machine_rela_relative, elf_machine_lazy_rel): Add prototypes with __attribute__((always_inline)). 2003-01-29 David Mosberger <davidm@hpl.hp.com> * elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
* Update.Ulrich Drepper2003-01-301-0/+6
| | | | | | | | 2003-01-29 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-umask1. (tst-umask1-ARGS): Define. * tst-umask1.c: New file.
* Update.Ulrich Drepper2003-01-291-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (libpthread-routines): Remove lowlevelrwlock. Add pthread_rwlock_rdlock, pthread_rwlock_timedrdlock, pthread_rwlock_wrlock, pthread_rwlock_timedwrlock, and pthread_rwlock_unlock. * sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Removed * sysdeps/unix/sysv/linux/i386/i586/lowlevelrwlock.S: Removed * sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Removed * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: New file.
* Update.Ulrich Drepper2003-01-291-30/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i386/i586/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i386/i586/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i386/i686/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i386/i686/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i386/lowlevelcond.h: New file.
* Update.Ulrich Drepper2003-01-281-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile (libpthread-routines): Remove lowlevelcond and lowlevelsem. Add sem_wait, sem_trywait, sem_timedwait, sem_post, pthread_cond_wait, pthread_cond_timedwait, pthread_cond_signal, and pthread_cond_broadcast. * sysdeps/unix/sysv/linux/i486/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i486/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i586/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i586/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i686/lowlevelsem.S: Removed * sysdeps/unix/sysv/linux/i686/lowlevelcond.S: Removed * sysdeps/unix/sysv/linux/i486/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i486/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i486/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i486/sem_post.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i486/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i586/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i586/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i586/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i586/sem_post.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i586/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/i686/sem_wait.S: New file. * sysdeps/unix/sysv/linux/i686/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/i686/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/i686/sem_post.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/i686/pthread_cond_broadcast.S: New file.
* Update.Ulrich Drepper2003-01-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com> * elf/elf.h: Add new s390 relocs. * elf/tls-macros.h: Add s390 versions. * sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset. * sysdeps/s390/dl-tls.h: New file. * sysdeps/s390/libc-tls.c: New file. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS relocs for class PLT. (elf_machine_rela): Handle TLS relocs. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/s390/s390-32/elf/configure.in: Add TLS check. * sysdeps/s390/s390-64/elf/configure.in: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for CLONE_CHILD_*TID flags. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32 bit offset. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error): Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO variants. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: (SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT. (SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO variants.
* Update.Ulrich Drepper2003-01-281-0/+4
| | | | | | 2003-01-21 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
* Update.Ulrich Drepper2003-01-281-0/+3
| | | | * stdio-common/bug14.c: Use official name for the locale.
* Update.Ulrich Drepper2003-01-281-0/+5
| | | | | | 2003-01-27 Steven Munroe <sjmunroe@us.ibm.com> * stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
* Update.Ulrich Drepper2003-01-171-0/+4
| | | | | | 2003-01-17 Ulrich Drepper <drepper@redhat.com> * Makefile (headers): Add bits/semaphore.h.
* Update.Ulrich Drepper2003-01-161-0/+5
| | | | | | | | 2003-01-16 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Use GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has been already initialized.
* Update.Ulrich Drepper2003-01-151-0/+4
| | | | | | | 2003-01-14 Ulrich Drepper <drepper@redhat.com> * manual/install.texi: Correct description of header preparation for Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
* Update.Ulrich Drepper2003-01-151-0/+5
| | | | | | | | | | | | | | | | | | | | 2003-01-14 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INTERNAL_SYSCALL): Make use of ERR parameter. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. Patch by Denis Zaitsev <zzz@cd-club.ru>. that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
* Update.Ulrich Drepper2003-01-141-0/+3
| | | | | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Don't export lll_unlock_wake_cb.
* Update.Ulrich Drepper2003-01-141-0/+6
| | | | | | | | 2003-01-13 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add version. Add rules to build version.os and banner.h. * version.c: New file.
* Update.Ulrich Drepper2003-01-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before defining. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it here. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions from here... (PSEUDO): ... to here. * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction from here... (PSEUDO): ... to here. * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
* Update.Ulrich Drepper2003-01-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err argument. (INTERNAL_SYSCALL_DECL): Define. 2003-01-06 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err argument. (INTERNAL_SYSCALL_DECL): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. (INLINE_SYSCALL): Adjust. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros. * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise. * sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise. * sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise. * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): Likewise. * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno.