Commit Graph

3783 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
Daniel Jacobowitz 3dff8d2978 * sysdeps/arm/dl-machine.h (elf_machine_dynamic): Correct GOT access to
load the _DYNAMIC slot.
2006-07-05 16:46:20 +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 f5b8dd54a6 * sysdeps/arm/nptl/pthreaddef.h (CURRENT_STACK_FRAME): Add -12. 2006-06-08 17:38:55 +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 c6e2897b1c * sysdeps/mips/Makefile (ASFLAGS-.os): Define. 2006-06-02 15:09:39 +00:00
Daniel Jacobowitz 37896d3980 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
* sysdeps/mips/fpu/fesetround.c: Likewise.
2006-06-02 15:06:07 +00:00
Daniel Jacobowitz 233db6e886 * sysdeps/arm/initfini.c: New file. 2006-05-30 15:31:04 +00:00
Daniel Jacobowitz e8256668f3 * sysdeps/arm/dl-machine.h (elf_machine_dynamic): Rewrite to load
_GLOBAL_OFFSET_TABLE_ explicitly.
2006-05-30 15:18:49 +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
Carlos O'Donell 084442fce3 2006-05-15 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/dl-machine.h: Include tls.h
	(elf_machine_fixup_plt): Returns fdesc.
	(elf_machine_profile_fixup_plt): Remove.
	(elf_machine_plt_value): Returns fdesc.
	(elf_machine_runtime_setup): Check that dl_profile != NULL.
	(ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
	(RTLD_START): Use iitlbp with sr0.
	(elf_machine_type_class): Include TLS relocs.
	(reassemble_21, reassemble_14): Define.
	(elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
	TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
	(TRAMPOLINE_TEMPLATE): Move to ...
	* sysdeps/hppa/dl-trampoline.S: ... here.
	* sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
	* sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
	(DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
	DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
	* sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
	* sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
	Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
2006-05-14 23:54:47 +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
Daniel Jacobowitz 19723bdded * sysdeps/mips/ldsodefs.h: New file.
* sysdeps/mips/tst-audit.h: New file.
2006-05-08 19:19:56 +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 c2dd372ef4 2006-04-21 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/dl-tls.h: New file
	* sysdeps/hppa/libc-tls.c: Likewise.
	* sysdeps/hppa/tls-macros.h: Likewise.
	* sysdeps/hppa/elf/configure: Likewise.
	* sysdeps/hppa/elf/configure.in: Likewise.
2006-04-22 02:21:00 +00:00
Carlos O'Donell 48dcf1c597 2006-04-20 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
	align parameters. Specify memory clobbers.
	* sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
	* sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
	* sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
	register. Use memcpy to align buffer.
	* sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
	fr0. Use union to align parameters.
	* sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
	* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
	exception registers. Define libm_hidden_def.
	* sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
	registers.
	* sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
	align parameters, speficy memory clobbers. Define libm_hidde_def
	* sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
	parameters. Use memcpy to align buffer.
	* sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
	* sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
	* sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
	* sysdeps/hppa/fpu/libm-test-ulps: Update.
	* sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
2006-04-21 00:27:20 +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 dfbbf9b44e . 2006-03-06 11:05:33 +00:00
Roland McGrath ba580a176d 2006-03-06 Roland McGrath <roland@redhat.com>
* Makefile (%.bz2, %.gz): New pattern rules.
2006-03-06 11:05:27 +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