Daniel Jacobowitz
02a9f771e3
* sysdeps/arm/bits/setjmp.h, sysdeps/arm/fpu/bits/setjmp.h: Update
...
include guards.
* sysdeps/unix/arm/sysdep.S (syscall_error): Handle USE___THREAD and
RTLD_PRIVATE_ERRNO.
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Handle RESET_PID.
Handle new arguments.
* sysdeps/unix/sysv/linux/arm/vfork.S (__vfork): Use SAVE_PID and
RESTORE_PID. Use the right syscall error handler.
* sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S
(__default_sa_restorer, __default_rt_sa_restorer): Add unwind
information.
* sysdeps/unix/sysv/linux/arm/eabi/socket.S: Update formatting.
Add unwind information. Correct stack alignment typo.
* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h
(INTERNAL_SYSCALL_NCS): Define.
* sysdeps/unix/sysv/linux/arm/sigaction.c
(__libc_sigaction): Remove never-valid handling for SA_ONSTACK.
* sysdeps/unix/sysv/linux/arm/socket.S: Whitespace cleanup.
* sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER): Handle
RTLD_PRIVATE_ERRNO.
(INTERNAL_SYSCALL_NCS): Implement.
* sysdeps/arm/nptl/Makefile, sysdeps/arm/nptl/jmpbuf-unwind.h,
sysdeps/arm/nptl/pthread_spin_lock.S,
sysdeps/arm/nptl/pthread_spin_trylock.S,
sysdeps/arm/nptl/pthreaddef.h, sysdeps/arm/nptl/tcb-offsets.sym,
sysdeps/arm/nptl/tls.h, sysdeps/unix/sysv/linux/arm/eabi/Makefile,
sysdeps/unix/sysv/linux/arm/eabi/nptl/Makefile,
sysdeps/unix/sysv/linux/arm/eabi/nptl/configure,
sysdeps/unix/sysv/linux/arm/eabi/nptl/configure.in,
sysdeps/unix/sysv/linux/arm/eabi/nptl/nptl-aeabi_unwind_cpp_pr1.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/rt-aeabi_unwind_cpp_pr1.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-resume.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h,
sysdeps/unix/sysv/linux/arm/nptl/Versions,
sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h,
sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h,
sysdeps/unix/sysv/linux/arm/nptl/clone.S,
sysdeps/unix/sysv/linux/arm/nptl/createthread.c,
sysdeps/unix/sysv/linux/arm/nptl/fork.c,
sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c,
sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h,
sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S,
sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c,
sysdeps/unix/sysv/linux/arm/nptl/vfork.S: New files.
2005-11-16 19:03:42 +00:00
Daniel Jacobowitz
de96d1483f
* sysdeps/arm/dl-machine.h (CLEAR_CACHE): Use INTERNAL_SYSCALL_ARM.
...
* sysdeps/unix/sysv/linux/arm/brk.c (__brk): Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use DO_CALL.
* sysdeps/unix/sysv/linux/arm/eabi/configure.in: Bump
arch_minimum_kernel.
* sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerated.
* sysdeps/unix/sysv/linux/arm/eabi/epoll_ctl.c,
sysdeps/unix/sysv/linux/arm/eabi/epoll_wait.c,
sysdeps/unix/sysv/linux/arm/eabi/fcntl.c,
sysdeps/unix/sysv/linux/arm/eabi/fstatfs64.c,
sysdeps/unix/sysv/linux/arm/eabi/ftruncate64.c,
sysdeps/unix/sysv/linux/arm/eabi/fxstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/kernel_epoll.h,
sysdeps/unix/sysv/linux/arm/eabi/kernel_stat.h,
sysdeps/unix/sysv/linux/arm/eabi/lockf64.c,
sysdeps/unix/sysv/linux/arm/eabi/lxstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/semop.c,
sysdeps/unix/sysv/linux/arm/eabi/semtimedop.c,
sysdeps/unix/sysv/linux/arm/eabi/statfs64.c,
sysdeps/unix/sysv/linux/arm/eabi/syscalls.list,
sysdeps/unix/sysv/linux/arm/eabi/uname.c,
sysdeps/unix/sysv/linux/arm/eabi/xstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/xstatconv.c,
sysdeps/unix/sysv/linux/arm/eabi/xstatconv.h: Removed.
* sysdeps/unix/sysv/linux/arm/eabi/linuxthreads/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/eabi/mmap64.S,
sysdeps/unix/sysv/linux/arm/eabi/pread.c,
sysdeps/unix/sysv/linux/arm/eabi/pread64.c,
sysdeps/unix/sysv/linux/arm/eabi/pwrite.c,
sysdeps/unix/sysv/linux/arm/eabi/pwrite64.c,
sysdeps/unix/sysv/linux/arm/eabi/readahead.c,
sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S,
sysdeps/unix/sysv/linux/arm/eabi/socket.S,
sysdeps/unix/sysv/linux/arm/eabi/syscall.S,
sysdeps/unix/sysv/linux/arm/eabi/sysdep.h,
sysdeps/unix/sysv/linux/arm/eabi/truncate64.c: New files.
* sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h
(SINGLE_THREAD_P_INT, SINGLE_THREAD_P_PIC): Removed.
(SINGLE_THREAD_P): Rewritten to use only ip.
* sysdeps/unix/sysv/linux/arm/linuxthreads/vfork.S (__vfork): Use
DO_CALL.
* sysdeps/unix/sysv/linux/arm/mmap.S (__mmap): Use DO_CALL.
* sysdeps/unix/sysv/linux/arm/mmap64.S (__mmap64): Use DO_CALL.
Don't handle EABI here.
* sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
SINGLE_THREAD_P.
* sysdeps/unix/sysv/linux/arm/vfork.S (__vfork): Use DO_CALL.
2005-11-16 18:08:53 +00:00
Ulrich Drepper
c80f86b75e
Linux/m68k fchownat implementation.
2005-11-11 19:42:24 +00:00
Ulrich Drepper
e448eedb64
Linux/m68k fxstatat implementation.
2005-11-11 19:17:50 +00:00
Ulrich Drepper
421e974872
Linux/Alpha fxstatat implementation.
2005-11-11 19:15:37 +00:00
Ulrich Drepper
eb519ed7bc
Remove use of HAVE_GNU_LD.
2005-11-06 02:05:16 +00:00
Daniel Jacobowitz
4962a991a3
* sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S: Add LGPL exception.
2005-11-03 14:42:00 +00:00
Daniel Jacobowitz
56cf6cc523
* sysdeps/unix/sysv/linux/arm/bits/mman.h (MREMAP_FIXED): Define.
2005-10-31 20:41:32 +00:00
Daniel Jacobowitz
e7837483d3
* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
2005-10-27 18:50:12 +00:00
Daniel Jacobowitz
f10eff5832
Add ARM EABI port.
2005-10-10 15:29:32 +00:00
Daniel Jacobowitz
ecaa5eab07
* sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
...
sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: New files.
2005-10-05 20:17:08 +00:00
Daniel Jacobowitz
485a9bb9f0
* sysdeps/arm/dl-machine.h: Include <tls.h>.
...
(elf_machine_type_class, elf_machine_rel, elf_machine_rela): Handle
TLS relocations.
* sysdeps/unix/sysv/linux/arm/Makefile: Build __aeabi_read_tp.
* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL_RAW): Renamed
from INTERNAL_SYSCALL.
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ARM): New macros.
* sysdeps/arm/dl-tls.h, sysdeps/arm/elf/configure.in,
sysdeps/arm/elf/configure, sysdeps/arm/libc-tls.c,
sysdeps/arm/linuxthreads/tls.h, sysdeps/arm/tls-macros.h,
sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S,
sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: New files.
2005-10-05 20:15:22 +00:00
Richard Henderson
dc5ca5d1f6
[BZ #1358 ]
...
* sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
to a temporary first.
(inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
(inline_syscall5, inline_syscall6): Likewise.
2005-09-20 05:35:42 +00:00
Andreas Jaeger
32e1823eb3
[BZ #1047 ]
...
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16 13:12:44 +00:00
Andreas Jaeger
ea78d8fa65
2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
...
[BZ #933 ]
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
the syscall immediately before invocation.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
macros to handle GP.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
Likewise. Update inaccurate comments.
2005-09-16 12:20:48 +00:00
Ulrich Drepper
eb4e0abb40
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
...
(lll_futex_wake_unlock): Define.
2005-09-08 17:39:04 +00:00
Ulrich Drepper
e582e2ddcf
(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
...
start of the structure.
2005-07-11 15:48:29 +00:00
Ulrich Drepper
baee7540a4
(RLIMIT_RTPRIO): Fix typo.
2005-06-21 18:38:49 +00:00
Ulrich Drepper
5e74293199
(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
...
(RLIMIT_NLIMITS): Adjust.
2005-06-20 15:07:34 +00:00
Phil Blundell
19f2e4ebef
2005-06-11 Phil Blundell <pb@reciva.com>
...
* sysdeps/arm/init-first.c: Deleted.
* sysdeps/unix/sysv/linux/arm/linuxthreads/fork.c: New file.
2005-06-11 10:15:27 +00:00
Phil Blundell
51ae9dc83d
2005-06-10 Phil Blundell <pb@reciva.com>
...
Bug #957 :
* sysdeps/unix/sysv/linux/arm/mmap64.S: Handle offset correctly on
big endian machines. Reported by Sven Henkel <shenkel@gmail.com>.
2005-06-10 18:10:47 +00:00
Phil Blundell
efaef362b3
2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
...
Mark Mitchell <mark@codesourcery.com>
* sysdeps/unix/sysv/linux/arm/ioperm.c (BUS_ISA): Define for new
kernel headers.
2005-06-10 11:12:09 +00:00
Phil Blundell
7051b72105
2005-06-09 Phil Blundell <pb@reciva.com>
...
* sysdeps/unix/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/sysdep.S: Correct paths to included
files.
2005-06-09 21:48:16 +00:00
Ulrich Drepper
3597225d0f
(O_DIRECT): Fix value.
2005-05-26 18:49:14 +00:00
Ulrich Drepper
8796ce2127
Add space inf weak_alias use.
2005-05-26 14:30:48 +00:00
Andreas Jaeger
60bb0e6188
MIPS NPTL specific pthreadtypes.h
2005-03-29 19:56:26 +00:00
Andreas Jaeger
2568b67466
MIPS NPTL support
2005-03-28 09:21:52 +00:00
Andreas Jaeger
27aae96e5b
(SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel.
2005-03-28 09:17:43 +00:00
Andreas Jaeger
e1ae85a58e
(INTERNAL_SYSCALL_NCS): New.
...
(INTERNAL_SYSCALL, internal_syscall0, internal_syscall1,
internal_syscall2, internal_syscall3, internal_syscall4,
internal_syscall5, internal_syscall6, internal_syscall7): Update
for non-constant support.
2005-03-28 09:17:26 +00:00
Andreas Jaeger
08650996ea
Add NPTL and five-argument clone support.
2005-03-28 09:17:06 +00:00
Andreas Jaeger
4abf7dea27
Linux/MIPS vfork implementation.
2005-03-28 09:16:12 +00:00
Andreas Jaeger
54316090f1
(internal_syscall5): Use register operands instead of non-lvalue
...
memory operands.
(internal_syscall6): Likewise.
(internal_syscall7): Likewise.
2005-03-28 07:48:26 +00:00
Ulrich Drepper
8646243632
Add __USE_MISC and __USE_XOPEN guards to match linux/bits/termios.h.
...
(CMSPAR): Define.
2005-03-20 04:30:28 +00:00
Roland McGrath
5b25b6ab54
Finish remove not committed properly
2005-03-17 00:32:10 +00:00
Andreas Jaeger
68f3ec5671
2004-11-11 Richard Sandiford <rsandifo@redhat.com>
...
[BZ #758 ]
* sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
like __NR_N32_open. Just include <asm/unistd.h> otherwise.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
standard __NR prefix.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
the output file is compatible with both pre-2.6 and 2.6 kernel headers.
Extract separate syscall lists for each ABI.
2005-02-25 15:18:13 +00:00
Roland McGrath
890e858b8c
2005-02-14 GOTO Masanori <gotom@debian.or.jp>
...
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
getpeername entry.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2005-02-15 00:12:18 +00:00
Ulrich Drepper
9259ad13c3
(__old_globfree): Also copy gl_offs.
2005-01-27 20:52:04 +00:00
Andreas Jaeger
2cc89a4967
2004-12-20 Jakub Jelinek <jakub@redhat.com>,
...
Jim Gifford <giffordj@linkline.com>
[BZ #562 ]
* sysdeps/mips/Makefile (librt-sysdep_routines): Add.
* sysdeps/unix/mips/rt-sysdep.S: New file.
2004-12-20 08:34:03 +00:00
Richard Henderson
0141927118
* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
...
for NPTL where the PID is stored at userlevel and needs to be
reset when CLONE_THREAD is not used.
nptl/
* sysdeps/unix/sysv/linux/alpha/clone.S: New file.
* sysdeps/alpha/tcb-offsets.sym (TID_OFFSET): New.
2004-12-17 10:11:44 +00:00
Roland McGrath
5fbac7cf7e
2004-10-18 Maciej W. Rozycki <macro@mips.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
__NTH instead of __THROW in the inline definition.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
2004-12-15 01:00:56 +00:00
Roland McGrath
2b35938bce
2004-10-18 Maciej W. Rozycki <macro@mips.com>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.
2004-12-15 01:00:48 +00:00
Roland McGrath
9db87dc9e2
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Update RETINSTR use.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2004-12-04 21:20:30 +00:00
Roland McGrath
47f0752a48
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Use it instead of __THUMB_INTERWORK__. Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
2004-12-04 21:20:17 +00:00
Ulrich Drepper
f0b94226b1
Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
...
sgidefs.h twice.
2004-11-27 20:01:03 +00:00
Andreas Jaeger
232e0cb8d6
Regenerate.
2004-11-24 04:42:45 +00:00
Andreas Jaeger
ae9e3809f9
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.
2004-11-24 04:38:31 +00:00
Andreas Jaeger
8de3c5f1fe
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h
2004-11-24 04:38:15 +00:00
Andreas Jaeger
73a227e200
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
2004-11-24 04:37:35 +00:00
Andreas Jaeger
b8ddf7a11f
Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection
...
throughout.
2004-11-24 04:36:11 +00:00
Andreas Jaeger
56eb7d3add
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
...
Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.
2004-11-22 12:47:50 +00:00