aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-02-05Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2003-02-05Update.Ulrich Drepper
2003-02-05 Ulrich Drepper <drepper@redhat.com> * libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked. Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
2003-02-05Update.Ulrich Drepper
2003-02-05 Jim Meyering <jim@meyering.net> Fix a heap-corrupting bug. * io/ftw.c: Include <limits.h>. (PATH_MAX) [!defined PATH_MAX]: Define to 1024. (process_entry): Allocate enough space to hold the resulting file name. Don't presume that 2*dirbufsize is enough. (ftw_startup): Always use PATH_MAX to compute buffer size, now that it is guaranteed to be defined.
2003-02-05Update.Ulrich Drepper
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.
2003-02-05Update.Ulrich Drepper
* atomic.h: Add a couple more default implementations. (atomic_compare_and_exchange_acq): Use
2003-02-05Update.Ulrich Drepper
* 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.
2003-02-05Update.Ulrich Drepper
* atomic.h (atomic_bit_set): Renamed from atomic_set_bit. Add missing atomic_ prefixes.
2003-02-05Update.Ulrich Drepper
* atomic.h: Add missing atomic_ prefixes.
2003-02-05Update.Ulrich Drepper
2003-02-04 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build and run bug-iconv3. * iconvdata/bug-iconv3.c: New file.
2003-02-04Update.Ulrich Drepper
2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/system.c: New file.
2003-02-04Update.Ulrich Drepper
2003-02-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New check. * config.h.in (BROKEN_SPARC_WDISP22): Add.
2003-02-04Update.Ulrich Drepper
2003-02-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/memmove.S: New file.
2003-02-04memmove for i686.Ulrich Drepper
2003-02-04* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Do not use Andreas Jaeger
multi-line strings. 2003-02-04 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Do not use multi-line strings.
2003-02-04(allocate_stack): Use __getpagesize instead of __sysconf to determine pagesize.Ulrich Drepper
2003-02-03Fix typo.Ulrich Drepper
(__lll_lock_wait): Add branch prediction.
2003-02-03Update.Ulrich Drepper
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.
2003-02-03Update.Ulrich Drepper
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.
2003-02-03Update.Ulrich Drepper
* allocatestack.c: Improve comment throughout the file.
2003-02-03Update.Ulrich Drepper
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.
2003-02-02Update.Ulrich Drepper
2003-02-02 Jakub Jelinek <jakub@redhat.com> * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
2003-02-02Update.Ulrich Drepper
2003-01-25 Jim Meyering <jim@meyering.net> * io/ftw.c (object_compare): Compare inode numbers before device numbers, since the former are much more likely to differ.
2003-02-01Update.Ulrich Drepper
2003-02-01 Ulrich Drepper <drepper@redhat.com> * time/tzfile.c (__tzfile_compute): Change return value type to void. Adjust return statements. * include/time.h (__tzfile_compute): Adjust prototype. 2003-02-01 Jim Meyering <jim@meyering.net> * time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute always returns 1. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c [!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise. 2003-01-31 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel back to 2.4.19 for powerpc64. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64. (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64. 2003-02-01 Ulrich Drepper <drepper@redhat.com> * wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for platforms with strange alignment requirements on wchar_t.
2003-02-01Update.Ulrich Drepper
2003-01-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove _POSIX_THREAD_PRIORITY_SCHEDULING.
2003-01-31Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_* aliases, already added by make-syscalls.sh. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/unix/inet/syscalls.list: Likewise. * sysdeps/unix/syscalls.list: Likewise. 2003-01-31 Andreas Schwab <schwab@suse.de>
2003-01-31Remove __GI_* aliases, already added by make-syscalls.sh.Ulrich Drepper
2003-01-30* sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not neededAndreas Schwab
any more.
2003-01-30(sysdep-CFLAGS): Don't define, not needed any more.Andreas Schwab
2003-01-30Update.Ulrich Drepper
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg, not l to load tls from stack.
2003-01-30Avoid warnings about unused self variable.Ulrich Drepper
2003-01-30* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check forRoland McGrath
null argument before all else. Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-302003-01-30 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for null argument before all else. Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-30Update.Ulrich Drepper
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel): Move to RESOLVE protected part of the header. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel): Likewise. 2003-01-30 Ulrich Drepper <drepper@redhat.com> * stdio-common/Makefile (tests): Add bug15. (bug15-ENV): Define. * stdio-common/bug15.c: New file.
2003-01-30Update.Ulrich Drepper
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.
2003-01-30Update.Ulrich Drepper
2003-01-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self variable. * sysdeps/ia64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/s390/s390-32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/s390/s390-64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sh/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sparc/sparc32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise. * sysdeps/sparc/sparc64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
2003-01-30(_dl_aux_init): Handle AT_SYSINFO.Ulrich Drepper
2003-01-30.Roland McGrath
2003-01-302003-01-29 Roland McGrath <roland@redhat.com>Roland McGrath
* td_ta_new.c (td_ta_new): Cap the `sizeof_descr' value read from the inferior at `sizeof (struct _pthread_descr_struct)', since we use it as a length in copies to our own structures.
2003-01-30Remove umask item.Ulrich Drepper
2003-01-30Update.Ulrich Drepper
2003-01-29 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-umask1. (tst-umask1-ARGS): Define. * tst-umask1.c: New file.
2003-01-30Test for umask handling.Ulrich Drepper
2003-01-29* configure.in: Barf if configured in $srcdir.Roland McGrath
* configure: Regenerated.
2003-01-292003-01-29 Roland McGrath <roland@redhat.com>Roland McGrath
* configure.in: Barf if configured in $srcdir. * configure: Regenerated.
2003-01-29Update.Ulrich Drepper
(__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.
2003-01-29Update.Ulrich Drepper
2003-01-28 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c (__fe_nomask_env): Change __prctl call to INLINE_SYSCALL.
2003-01-29Update.Ulrich Drepper
* 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.
2003-01-29Update.Ulrich Drepper
* 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.
2003-01-28Update.Ulrich Drepper
* 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.
2003-01-28Update.Ulrich Drepper
2003-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional clone parameters to match the order used on ia32. * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2003-01-28Update.Ulrich Drepper
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.