platform/upstream/linaro-glibc.git
21 years ago(ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix masking of version index.
Ulrich Drepper [Wed, 12 Feb 2003 09:42:48 +0000 (09:42 +0000)]
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix masking of version index.

21 years agoAdd posix_fadvise64 syscall.
Ulrich Drepper [Wed, 5 Feb 2003 23:29:25 +0000 (23:29 +0000)]
Add posix_fadvise64 syscall.

21 years agoRemove __GI_* aliases, already added by make-syscalls.sh.
Ulrich Drepper [Fri, 31 Jan 2003 03:40:10 +0000 (03:40 +0000)]
Remove __GI_* aliases, already added by make-syscalls.sh.

21 years ago(sysdep-CFLAGS): Don't define, not needed any more.
Andreas Schwab [Thu, 30 Jan 2003 23:52:52 +0000 (23:52 +0000)]
(sysdep-CFLAGS): Don't define, not needed any more.

21 years ago(SYSCALL_ERROR_LABEL): Define.
Ulrich Drepper [Mon, 27 Jan 2003 20:15:03 +0000 (20:15 +0000)]
(SYSCALL_ERROR_LABEL): Define.

21 years agoDon't set errno in the _LIBC_REENTRANT case, use register names consistently.
Ulrich Drepper [Mon, 27 Jan 2003 19:01:25 +0000 (19:01 +0000)]
Don't set errno in the _LIBC_REENTRANT case, use register names consistently.

21 years agoAdd support for cancellation handling and handle both __NR_pwrite64 and
Ulrich Drepper [Mon, 27 Jan 2003 19:01:03 +0000 (19:01 +0000)]
Add support for cancellation handling and handle both __NR_pwrite64 and
__NR_pwrite.

21 years agoAdd support for cancellation handling and handle both __NR_pread64 and
Ulrich Drepper [Mon, 27 Jan 2003 19:00:40 +0000 (19:00 +0000)]
Add support for cancellation handling and handle both __NR_pread64 and
__NR_pread.

21 years ago(_dl_start_user): Use pc-relative addressing to save GOT entries.
Andreas Schwab [Sat, 25 Jan 2003 23:07:04 +0000 (23:07 +0000)]
(_dl_start_user): Use pc-relative addressing to save GOT entries.

21 years ago2003-01-21 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Wed, 22 Jan 2003 02:07:54 +0000 (02:07 +0000)]
2003-01-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/alpha/sysdep.h (inline_syscall0,
inline_syscall1, inline_syscall2, inline_syscall3,
inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
__attribute__((unused)) to ChEcK.

21 years ago(EPILOGUE, GPSAVEREG): New.
Ulrich Drepper [Fri, 17 Jan 2003 19:19:55 +0000 (19:19 +0000)]
(EPILOGUE, GPSAVEREG): New.
(LOADGP) [!PIC]: Rewrite to preserve caller's gp.

21 years agoHelper code for TLS setup in static libc.
Ulrich Drepper [Fri, 17 Jan 2003 19:19:37 +0000 (19:19 +0000)]
Helper code for TLS setup in static libc.

21 years ago(elf_machine_type_class): Add TLS relocs for class PLT.
Ulrich Drepper [Fri, 17 Jan 2003 19:18:51 +0000 (19:18 +0000)]
(elf_machine_type_class): Add TLS relocs for class PLT.

21 years ago(__vfork): Conditionally branch to __fork even if __NR_vfork is not defined.
Ulrich Drepper [Wed, 15 Jan 2003 01:06:06 +0000 (01:06 +0000)]
(__vfork): Conditionally branch to __fork even if __NR_vfork is not defined.

21 years ago(INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
Ulrich Drepper [Wed, 15 Jan 2003 01:02:03 +0000 (01:02 +0000)]
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.

21 years ago(INLINE_SYSCALL): Undefined before defining.
Ulrich Drepper [Tue, 14 Jan 2003 01:23:59 +0000 (01:23 +0000)]
(INLINE_SYSCALL): Undefined before defining.

21 years agoAdd inline syscall definitions.
Ulrich Drepper [Sun, 12 Jan 2003 19:25:52 +0000 (19:25 +0000)]
Add inline syscall definitions.
(PSEUDO_LOADGP): Remove.
(PSEUDO_PROLOGUE): Load GP in non-pic case.
(SYSCALL_ERROR_LABEL): New.
(PSEUDO): Use it in error branch.
(PSEUDO_END): Add $syscall_error label.

21 years agoMove inline syscall bits to sysdeps/unix/alpha/sysdep.h.
Ulrich Drepper [Sun, 12 Jan 2003 19:23:41 +0000 (19:23 +0000)]
Move inline syscall bits to sysdeps/unix/alpha/sysdep.h.

21 years agoUse correct definition of errno for NOT_IN_libc.
Ulrich Drepper [Sun, 12 Jan 2003 19:23:03 +0000 (19:23 +0000)]
Use correct definition of errno for NOT_IN_libc.

21 years ago(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.
Ulrich Drepper [Sun, 12 Jan 2003 19:22:32 +0000 (19:22 +0000)]
(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.

21 years agovfork implementation for LinuxThreads/Arm.
Ulrich Drepper [Sun, 12 Jan 2003 09:16:06 +0000 (09:16 +0000)]
vfork implementation for LinuxThreads/Arm.

21 years ago(PSEUDO_RET): Correctly unstack lr.
Ulrich Drepper [Sun, 12 Jan 2003 09:14:25 +0000 (09:14 +0000)]
(PSEUDO_RET): Correctly unstack lr.
(UNDOARGS_5): Fix ordering of pushes and pops.
(SINGLE_THREAD_P_PIC): New.
(SINGLE_THREAD_P_INT): Likewise.
(SINGLE_THREAD_P): Implement in terms of above.  Restore lr if it was stacked.
(PSEUDO): Use SINGLE_THREAD_P_INT.

21 years agoAdd cancellation support.
Ulrich Drepper [Sun, 12 Jan 2003 09:06:28 +0000 (09:06 +0000)]
Add cancellation support.

21 years ago(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
Ulrich Drepper [Sun, 12 Jan 2003 08:47:37 +0000 (08:47 +0000)]
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.

21 years ago * sysdeps/unix/mips/fork.S: add PSEUDO_END.
Andreas Jaeger [Sat, 11 Jan 2003 15:26:35 +0000 (15:26 +0000)]
* sysdeps/unix/mips/fork.S: add PSEUDO_END.
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/pipe.S: Likewise.

21 years agoGET_NPROCS_PARSER for m68k.
Andreas Schwab [Fri, 10 Jan 2003 15:36:20 +0000 (15:36 +0000)]
GET_NPROCS_PARSER for m68k.

21 years ago(JUMPTARGET): Undefine before defining it.
Andreas Schwab [Fri, 10 Jan 2003 14:08:16 +0000 (14:08 +0000)]
(JUMPTARGET): Undefine before defining it.

21 years agoOptimize for kernels which are known to have the vfork syscall.
Andreas Schwab [Fri, 10 Jan 2003 14:05:26 +0000 (14:05 +0000)]
Optimize for kernels which are known to have the vfork syscall.

21 years agoRegenerated.
Andreas Schwab [Thu, 9 Jan 2003 15:30:03 +0000 (15:30 +0000)]
Regenerated.

21 years ago(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
Ulrich Drepper [Thu, 9 Jan 2003 04:09:26 +0000 (04:09 +0000)]
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
Add err argument.
(INTERNAL_SYSCALL_DECL): Define.

21 years agoAdd INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros.
Ulrich Drepper [Thu, 9 Jan 2003 04:06:05 +0000 (04:06 +0000)]
Add INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros.

21 years ago(__socket): Use SYSCALL_ERROR in place of __syscall_error.
Ulrich Drepper [Wed, 8 Jan 2003 00:15:33 +0000 (00:15 +0000)]
(__socket): Use SYSCALL_ERROR in place of __syscall_error.

21 years ago(PSEUDO): Remove .type directive.
Ulrich Drepper [Wed, 8 Jan 2003 00:15:07 +0000 (00:15 +0000)]
(PSEUDO): Remove .type directive.
(PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
(SYSCALL_ERROR): New.
(SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
handling code.
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.

21 years ago(syscall_error): Optimise a little.
Ulrich Drepper [Wed, 8 Jan 2003 00:14:43 +0000 (00:14 +0000)]
(syscall_error): Optimise a little.
[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.

21 years ago(ntp_adjtime): New weak alias.
Ulrich Drepper [Tue, 7 Jan 2003 23:51:48 +0000 (23:51 +0000)]
(ntp_adjtime): New weak alias.

21 years agoAdd cancellation handling.
Ulrich Drepper [Tue, 7 Jan 2003 00:48:34 +0000 (00:48 +0000)]
Add cancellation handling.

21 years ago(PSEUDO): Use PSEUDO_PREPARE_ARGS.
Ulrich Drepper [Tue, 7 Jan 2003 00:47:52 +0000 (00:47 +0000)]
(PSEUDO): Use PSEUDO_PREPARE_ARGS.

21 years agoSyscall cancellation handling for Arm.
Ulrich Drepper [Tue, 7 Jan 2003 00:39:17 +0000 (00:39 +0000)]
Syscall cancellation handling for Arm.

21 years ago(inline_syscall_r0_constraint): Rename to...
Ulrich Drepper [Mon, 6 Jan 2003 23:52:06 +0000 (23:52 +0000)]
(inline_syscall_r0_constraint): Rename to...
(inline_syscall_r0_out_constraint): ... this.  Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.

21 years ago(sysdep-CFLAGS): Increase inline limit.
Andreas Schwab [Mon, 6 Jan 2003 18:11:24 +0000 (18:11 +0000)]
(sysdep-CFLAGS): Increase inline limit.

21 years ago(elf_machine_runtime_setup): Make sure this is always inlined.
Andreas Schwab [Mon, 6 Jan 2003 18:10:46 +0000 (18:10 +0000)]
(elf_machine_runtime_setup): Make sure this is always inlined.
(elf_machine_rela): Likewise.

21 years ago(CFLAGS-.oS): Append -fPIC.
Andreas Schwab [Sun, 5 Jan 2003 17:14:17 +0000 (17:14 +0000)]
(CFLAGS-.oS): Append -fPIC.

21 years agoAdd nanosecond fields.
Andreas Schwab [Sat, 4 Jan 2003 22:51:16 +0000 (22:51 +0000)]
Add nanosecond fields.

21 years ago(inline_syscall_r0_asm): New.
Ulrich Drepper [Fri, 3 Jan 2003 21:59:45 +0000 (21:59 +0000)]
(inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.

21 years ago(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
Ulrich Drepper [Fri, 3 Jan 2003 00:42:10 +0000 (00:42 +0000)]
(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.

21 years ago(__GI_accept): New alias to accept.
Ulrich Drepper [Tue, 31 Dec 2002 20:44:02 +0000 (20:44 +0000)]
(__GI_accept): New alias to accept.

21 years ago(accept): Add libc_hidden_def.
Ulrich Drepper [Tue, 31 Dec 2002 20:41:23 +0000 (20:41 +0000)]
(accept): Add libc_hidden_def.

21 years ago(__lseek): Add libc_hidden_def.
Ulrich Drepper [Tue, 31 Dec 2002 20:40:18 +0000 (20:40 +0000)]
(__lseek): Add libc_hidden_def.

21 years agoUse libc_hidden_def(name) instead of strong_alias (name, __GI_name).
Ulrich Drepper [Tue, 31 Dec 2002 20:37:32 +0000 (20:37 +0000)]
Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).

21 years ago * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
Andreas Jaeger [Tue, 31 Dec 2002 13:24:33 +0000 (13:24 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.

* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

21 years agoAdd __GI___vfork alias.
Ulrich Drepper [Tue, 31 Dec 2002 11:10:33 +0000 (11:10 +0000)]
Add __GI___vfork alias.

21 years agoAdd __GI___fork alias.
Ulrich Drepper [Tue, 31 Dec 2002 11:07:26 +0000 (11:07 +0000)]
Add __GI___fork alias.

21 years agoAdd libc_hidden_def for __fork.
Ulrich Drepper [Tue, 31 Dec 2002 11:05:04 +0000 (11:05 +0000)]
Add libc_hidden_def for __fork.

21 years agoAdd libc_hidden_def for __nanosleep.
Ulrich Drepper [Tue, 31 Dec 2002 10:22:40 +0000 (10:22 +0000)]
Add libc_hidden_def for __nanosleep.

21 years agoAdd __GI__setjmp alias.
Ulrich Drepper [Tue, 31 Dec 2002 09:35:36 +0000 (09:35 +0000)]
Add __GI__setjmp alias.

21 years agoAdd cancellation support.
Andreas Schwab [Fri, 27 Dec 2002 22:15:18 +0000 (22:15 +0000)]
Add cancellation support.

21 years agoFix thinko.
Andreas Schwab [Sat, 21 Dec 2002 21:05:31 +0000 (21:05 +0000)]
Fix thinko.

21 years ago(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
Andreas Schwab [Sat, 21 Dec 2002 20:08:15 +0000 (20:08 +0000)]
(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.

21 years agoFix warning.
Andreas Schwab [Sat, 21 Dec 2002 20:07:49 +0000 (20:07 +0000)]
Fix warning.

21 years ago(INTERNAL_SYSCALL): Define.
Andreas Schwab [Sat, 21 Dec 2002 19:36:50 +0000 (19:36 +0000)]
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.

21 years agoUse INTERNAL_SYSCALL.
Andreas Schwab [Sat, 21 Dec 2002 19:36:29 +0000 (19:36 +0000)]
Use INTERNAL_SYSCALL.

21 years agoElide compatibility cruft when new enough kernel is assumed.
Ulrich Drepper [Sat, 21 Dec 2002 18:37:16 +0000 (18:37 +0000)]
Elide compatibility cruft when new enough kernel is assumed.

21 years agoSmall optimisation.
Ulrich Drepper [Sat, 21 Dec 2002 18:36:55 +0000 (18:36 +0000)]
Small optimisation.

21 years ago(_start): Optimise a little. Push stack top as seventh arg to
Ulrich Drepper [Sat, 21 Dec 2002 18:36:32 +0000 (18:36 +0000)]
(_start): Optimise a little.  Push stack top as seventh arg to
__libc_start_main.

21 years agoDefine SHM_HUGETLB.
Ulrich Drepper [Fri, 20 Dec 2002 10:31:10 +0000 (10:31 +0000)]
Define SHM_HUGETLB.

21 years ago(msgrcv, msgsnd): Make cancelable.
Ulrich Drepper [Wed, 18 Dec 2002 01:27:42 +0000 (01:27 +0000)]
(msgrcv, msgsnd): Make cancelable.

21 years agoConvert GCC extension initializer syntax to C99.
Ulrich Drepper [Mon, 16 Dec 2002 23:17:43 +0000 (23:17 +0000)]
Convert GCC extension initializer syntax to C99.

21 years ago2002-12-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 10:25:34 +0000 (10:25 +0000)]
2002-12-16  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
s_putpmsg.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.

21 years agoMake inline syscall to _exit.
Andreas Schwab [Sun, 15 Dec 2002 21:39:21 +0000 (21:39 +0000)]
Make inline syscall to _exit.

21 years ago(accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
Ulrich Drepper [Sun, 15 Dec 2002 00:52:49 +0000 (00:52 +0000)]
(accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
cancelable.

21 years ago(llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
Ulrich Drepper [Sun, 15 Dec 2002 00:49:51 +0000 (00:49 +0000)]
(llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Make cancelable.

21 years ago(__libc_sigsuspend): Likewise.
Ulrich Drepper [Tue, 10 Dec 2002 20:33:27 +0000 (20:33 +0000)]
(__libc_sigsuspend): Likewise.

21 years ago(__libc_select): New alias.
Ulrich Drepper [Tue, 10 Dec 2002 20:33:12 +0000 (20:33 +0000)]
(__libc_select): New alias.

21 years ago2002-12-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Dec 2002 20:37:24 +0000 (20:37 +0000)]
2002-12-08  Roland McGrath  <roland@redhat.com>

* elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
* csu/elf-init.c: New file.
* csu/Makefile (routines, static-only-routines): Add elf-init.
* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
and __libc_csu_fini in place of _fini.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.

21 years agoAdded SHMLBA #define.
Ulrich Drepper [Sun, 8 Dec 2002 22:53:46 +0000 (22:53 +0000)]
Added SHMLBA #define.

21 years ago2002-12-05 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Thu, 5 Dec 2002 23:46:39 +0000 (23:46 +0000)]
2002-12-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
args to i:iipi.
(readahead): Change args to i:iii.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
Change args to i:iii.
* sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
args to i:iiii.

21 years ago(struct sigevent): Change type of _attribute to void*.
Ulrich Drepper [Thu, 5 Dec 2002 00:23:59 +0000 (00:23 +0000)]
(struct sigevent): Change type of _attribute to void*.

21 years ago2002-12-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 3 Dec 2002 07:28:08 +0000 (07:28 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.

21 years ago2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 3 Dec 2002 02:50:52 +0000 (02:50 +0000)]
2002-12-02  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.

21 years ago(inline_syscall*): Avoid "=v" constraints.
Ulrich Drepper [Thu, 28 Nov 2002 22:47:27 +0000 (22:47 +0000)]
(inline_syscall*): Avoid "=v" constraints.

21 years agoChange defined(USE___THREAD) to USE___THREAD.
Ulrich Drepper [Thu, 28 Nov 2002 22:47:04 +0000 (22:47 +0000)]
Change defined(USE___THREAD) to USE___THREAD.

21 years agoSupport inline syscall with six arguments.
Andreas Schwab [Sun, 24 Nov 2002 19:41:42 +0000 (19:41 +0000)]
Support inline syscall with six arguments.

21 years ago2002-11-11 Randolf Chung <tausq@debian.org>
Roland McGrath [Tue, 19 Nov 2002 09:26:56 +0000 (09:26 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.

21 years ago2002-11-11 Randolf Chung <tausq@debian.org>
Roland McGrath [Tue, 19 Nov 2002 06:41:05 +0000 (06:41 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
Set -mdisable-fpregs for this file.

21 years ago2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 19 Nov 2002 06:41:02 +0000 (06:41 +0000)]
2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

        * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
        Define mcontext_t as a sigcontext.

21 years ago2002-11-11 Randolf Chung <tausq@debian.org>
Roland McGrath [Tue, 19 Nov 2002 06:40:57 +0000 (06:40 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).

22 years ago2002-11-15 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 15 Nov 2002 22:51:20 +0000 (22:51 +0000)]
2002-11-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.

22 years ago2002-09-22 H.J. Lu <hjl@gnu.org>
Roland McGrath [Sat, 9 Nov 2002 00:36:04 +0000 (00:36 +0000)]
2002-09-22  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:19:00 +0000 (02:19 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise.  Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:58 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise.  Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:51 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* linuxthreads/sysdeps/alpha/tls.h: New file.
* sysdeps/alpha/dl-tls.h: New file.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:49 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
Kill argument registers across the inline syscall.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:48 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:45 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.

22 years ago2002-11-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Nov 2002 22:14:25 +0000 (22:14 +0000)]
2002-11-06  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/mips/configure.in: File removed.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.

22 years ago2002-11-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Nov 2002 03:19:47 +0000 (03:19 +0000)]
2002-11-05  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
From Johannes Stezenbach <js@convergence.de>.

22 years ago2002-11-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Nov 2002 02:53:24 +0000 (02:53 +0000)]
2002-11-05  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
#errlist-compat magic comment to give 123 as size.
(libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
(libc: GLIBC_2.2): ... here.
(libc: GLIBC_2.3): Likewise.

22 years ago2002-11-02 H.J. Lu <hjl@gnu.org>
Roland McGrath [Sat, 2 Nov 2002 23:13:16 +0000 (23:13 +0000)]
2002-11-02  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
caller to EXTRA instead of execve.

22 years ago2002-10-29 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 1 Nov 2002 20:48:33 +0000 (20:48 +0000)]
2002-10-29  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
(__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
declare_symbol.
* sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/arm/siglist.c: Remove.

22 years ago2002-10-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 25 Oct 2002 19:41:24 +0000 (19:41 +0000)]
2002-10-25  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
conditional from __libc_multiple_libcs access.  Remove kludge for weak
symbol access with old compilers we no longer support.
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
* sysdeps/generic/libc-start.c (__libc_start_main): Likewise.