Commit Graph

2195 Commits

Author SHA1 Message Date
Daniel Jacobowitz
7a11d626a7 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include
<bits/sigcontext.h>.
	(NGREG, mcontext_t, struct ucontext): Update to match the kernel.
2006-07-05 16:58:01 +00:00
Carlos O'Donell
6752404e77 2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
	* sysdeps/unix/sysv/linux/hppa/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
2006-06-09 01:25:30 +00:00
Carlos O'Donell
26be3bf7de 2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
	(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
	Define.
2006-06-09 00:48:17 +00:00
Daniel Jacobowitz
02678e17f9 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
	Define.
2006-06-08 17:16:29 +00:00
Daniel Jacobowitz
b395a209f1 * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Reformat.
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
	Define.
2006-06-08 17:16:08 +00:00
Daniel Jacobowitz
bd34510699 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
	types.
2006-06-02 15:37:27 +00:00
Daniel Jacobowitz
d7f9cd89c2 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
Don't use struct timespec.
	* sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
	__xstat64_conv): Copy individual timespec fields.
2006-06-02 15:29:03 +00:00
Daniel Jacobowitz
023a0de155 * sysdeps/unix/sysv/linux/arm/kernel-features.h: Add conditionals
for __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
	__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64, and
	__ASSUME_VFORK_SYSCALL.
2006-05-30 15:12:30 +00:00
Carlos O'Donell
31e69e34ab 2006-05-24 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
	is a label.
2006-05-24 15:33:28 +00:00
Carlos O'Donell
2c2f8f84c7 2006-05-24 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/ldsodefs.h: New file.
	* sysdeps/unix/sysv/linux/hppa/bits/mman.h:
	Only define MADV_* macros when __USE_BSD is present.
	(MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
2006-05-24 15:31:25 +00:00
Carlos O'Donell
a29e6e84ed 2006-05-15 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
	required for NPTL.
	* sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
	syscall.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
	into PSEUDO_*'s.
	(ENTRY_LEAF): Define.
	(PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
	(DO_CALL): Create frame.
2006-05-15 00:44:14 +00:00
Daniel Jacobowitz
42e36d16b3 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
dump sc_cause, sc_status or sc_badvaddr.
	* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
	structure definitions after DSP kernel changes.
	* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
	after the same DSP changes.
2006-05-10 18:57:03 +00:00
Daniel Jacobowitz
dab7578866 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
st_atim, st_mtim and st_ctim interface.
	(struct stat64): Likewise.
	* sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
	Replace st_atime and its padding field with st_atim.  Likewise
	st_mtime/st_mtim and st_ctime/st_ctim.
	* sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
	after above changes.
	(__xstat64_conv): Likewise.
2006-05-08 19:23:37 +00:00
Ulrich Drepper
18436f584f Define SPLICE_F_*. 2006-05-05 19:09:15 +00:00
Daniel Jacobowitz
075f1edd06 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
for consistency with other ports.
	(MADV_REMOVE): Correct value.
	(MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
	POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
	POSIX_MADV_DONTNEED): Define.
2006-05-05 14:17:22 +00:00
Daniel Jacobowitz
23d0322571 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Update error message
for consistency with other ports.
	(MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
2006-05-05 14:17:13 +00:00
Daniel Jacobowitz
142b51e416 2006-05-05 Lior Balkohen <balkohen@gmail.com>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
	LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
	Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
	and SYNC_FILE_RANGE_WAIT_AFTER.
	Declare sync_file_range, vmsplice, splice and tee.

2006-05-05  Lior Balkohen  <balkohen@gmail.com>

	* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Remove
	LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
	Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
	and SYNC_FILE_RANGE_WAIT_AFTER.
	Declare sync_file_range, vmsplice, splice and tee.
2006-05-05 14:03:22 +00:00
Ulrich Drepper
290806a914 Fix MADV_REMOVE value. 2006-05-02 14:33:44 +00:00
Carlos O'Donell
1593583d58 2006-04-27 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
	define vmsplice.
2006-04-27 15:49:46 +00:00
Ulrich Drepper
a122819861 Declare vmsplice. 2006-04-26 22:28:15 +00:00
Carlos O'Donell
cb16361524 2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
	Define MMAP_FIXED.
	* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
	Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
	SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
2006-04-19 05:43:52 +00:00
Carlos O'Donell
8e86e37a90 2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
2006-04-19 05:37:33 +00:00
Carlos O'Donell
5d3b4a7723 2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/linuxthreads/pspinlock.c: New file.
	* sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
	* sysdeps/hppa/linuxthreads/tls.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
	* sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
	Likewise.
	* sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
	* sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
	Likewise.
2006-04-19 05:35:34 +00:00
Ulrich Drepper
44f4e76726 Add prototype for tee. 2006-04-14 21:55:00 +00:00
Ulrich Drepper
111e56f80c Remove LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
Declare sync_file_range and splice.
2006-03-31 21:45:38 +00:00
Daniel Jacobowitz
711daa3092 2006-03-27 Lior Balkohen <balkohen@gmail.com>
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define
	LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
2006-03-28 04:32:41 +00:00
Daniel Jacobowitz
f3fb78ec4e 2006-03-27 Lior Balkohen <balkohen@gmail.com>
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
	LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
	prototype.
2006-03-28 04:32:14 +00:00
Daniel Jacobowitz
bfc23f5a36 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
Define.
2006-03-28 04:25:50 +00:00
Daniel Jacobowitz
b415b963c2 2006-03-27 Denis Barbier <barbier@linuxfr.org>
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
	typo.
2006-03-28 04:13:22 +00:00
Ulrich Drepper
ea5f32769e Define LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. 2006-03-24 16:36:38 +00:00
Daniel Jacobowitz
ebabc882d0 * sysdeps/unix/sysv/linux/arm/kernel-features.h: New file. 2006-03-21 21:00:16 +00:00
Daniel Jacobowitz
e5b5ba471f * sysdeps/unix/sysv/linux/arm/eabi/socket.S: Delete.
* sysdeps/unix/sysv/linux/arm/eabi/syscalls.list,
	sysdeps/unix/sysv/linux/arm/eabi/umount.c: New files.
	* sysdeps/unix/sysv/linux/arm/eabi/linuxthreads/sysdep-cancel.h
	(DOCARGS_6, UNDOCARGS_6, RESTORE_LR_6): Define.
	* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
	(DOCARGS_6, UNDOCARGS_6, RESTORE_LR_6): Define.
	* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h: Undefine
	__NR_stime and __NR_alarm.
2006-03-21 20:54:56 +00:00
Roland McGrath
0353e641e9 2006-03-16 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x):
	Use .set noat to quiet assembler warning.
2006-03-16 23:27:45 +00:00
Daniel Jacobowitz
712619d7b6 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
i386/fork.c.
2006-03-11 16:20:03 +00:00
Daniel Jacobowitz
aea6074434 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
libc_cv_localedir, libdir, arch_minimum_kernel, and
	libc_cv_gcc_unwind_find_fde.
	* sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
	* sysdeps/unix/sysv/linux/mips/configure: Regenerated.
	* sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
2006-03-11 16:18:41 +00:00
Roland McGrath
b834ecbda3 2006-03-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
2006-03-03 11:21:28 +00:00
Daniel Jacobowitz
13d7881aeb 2006-03-02 Lior Balkohen <balkohen@gmail.com>
* sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
	(__pthread_list_t, __pthread_slist_t): New typedefs.
	(pthread_mutex_t): Replace __next and __prev fields with __list.
	* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
	FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
	(lll_futex_wake_unlock): Define.
	(lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
	lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
	lll_robust_mutex_unlock): New macros.
	(__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
	* sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
	vfork.S.
	* sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
2006-03-03 01:16:30 +00:00
Daniel Jacobowitz
7320480770 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
2006-03-03 01:13:52 +00:00
Daniel Jacobowitz
6428ce3cda * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
(INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
	(INTERNAL_SYSCALL_NCS): New.
	(internal_syscall0, internal_syscall1, internal_syscall2,
	internal_syscall3, internal_syscall4, internal_syscall5,
	internal_syscall6): Take ncs_init, cs_init, and input arguments.
	Use them.  Correct types for registers.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
	(INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
	(INTERNAL_SYSCALL_NCS): New.
	(internal_syscall0, internal_syscall1, internal_syscall2,
	internal_syscall3, internal_syscall4, internal_syscall5,
	internal_syscall6): Take ncs_init, cs_init, and input arguments.
	Use them.
	* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
	recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
	points.
	* sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
	Use Elf(Addr) for TLS relocation targets.
	* sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
	* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
	lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
	futexp to long for n64.
	* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
2006-03-03 01:06:48 +00:00
Daniel Jacobowitz
43b83c6fe1 * sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h
(PSEUDO): Inline correct versions of PSEUDO_RET_MOV and MAYBE_SAVE_LR.
	(PSEUDO_RET_MOV, MAYBE_SAVE_LR): Don't define.
2006-03-02 15:23:41 +00:00
Daniel Jacobowitz
33ca998a4f * sysdeps/unix/sysv/linux/arm/eabi/Makefile (arm-using-eabi): Set.
* sysdeps/unix/sysv/linux/arm/nptl/Makefile: New file.
2006-03-02 15:19:51 +00:00
Daniel Jacobowitz
16c82ad715 * sysdeps/unix/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/sysdep.S,
sysdeps/unix/sysv/linux/arm/sysdep.h: Remove ports/ from include
	paths.
2006-02-28 19:26:36 +00:00
Roland McGrath
5c67709f59 2006-02-27 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/sleep.c: Use #include_next after #include of
	self to get main source tree's file.
	* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
	* sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2006-02-28 07:09:47 +00:00
Daniel Jacobowitz
a883978723 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
(struct __pthread_internal_slist): New.
	(union pthread_mutex_t): Give struct a tag.  Add __list
	in an anonymous union.
	(union pthread_cond_t): Use __extension__.
	* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
	(__lll_mutex_lock_outlined, __lll_mutex_timedlock_outlined): Remove
	prototypes.
	(lll_robust_mutex_dead, __lll_robust_mutex_trylock,
	lll_robust_mutex_trylock, __lll_robust_mutex_lock,
	lll_robust_mutex_lock, lll_robust_mutex_cond_lock,
	__lll_robust_mutex_timedlock, lll_robust_mutex_timedlock,
	__lll_robust_mutex_unlock, lll_robust_mutex_unlock): New.
	(__lll_robust_lock_wait, __lll_robust_timedlock_wait): New
	prototypes.
2006-02-27 15:36:07 +00:00
Daniel Jacobowitz
8e674bfd64 * sysdeps/unix/sysv/linux/arm/eabi/ftruncate64.c: Don't use
sysdeps/generic/.
	* sysdeps/unix/sysv/linux/arm/eabi/truncate64.c: Likewise.
2006-02-27 15:22:31 +00:00
Roland McGrath
92724ebc20 2006-02-20 Roland McGrath <roland@redhat.com>
* sysdeps/mips/shlib-versions: New file.
	* sysdeps/mips/preconfigure: New file.
	* sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.
2006-02-21 02:12:56 +00:00
Richard Henderson
143006bf1d * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
to math subdir.
        * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
        (__ieee754_sqrtl): Add _round local variable.
        * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.

        * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
2006-02-20 22:51:48 +00:00
Ulrich Drepper
26d77dc296 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
lll_robust_mutex_unlock): New macros.
(__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
2006-02-17 18:44:32 +00:00
Ulrich Drepper
e112446e01 Correct MADV_DO{,NOT}FORK values. 2006-02-16 00:15:09 +00:00
Ulrich Drepper
ab28c061e9 Define MADV_DONTFORK and MADV_DOFORK. 2006-02-15 18:12:03 +00:00