Commit Graph

1957 Commits

Author SHA1 Message Date
Alexandre Oliva
f7277ebafe * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
for n64 abi.
2003-04-04 05:12:00 +00:00
Ulrich Drepper
97012650e2 (PSEUDO): Add missing ; after ENTRY use. 2003-04-03 19:32:34 +00:00
Ulrich Drepper
614ba8f749 (_NSIG): Define to 65. 2003-04-01 06:16:53 +00:00
Alexandre Oliva
ef055a744e * configure.in: Add mips64* support.
* configure: Rebuilt.
* sysdeps/mips/bits/endian.h: Make it bi-endian.
* sysdeps/mips/mipsel/bits/endian.h: Removed.
* sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
* sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
* sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
* sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
* sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
* sysdeps/mips/Implies: Moved wordsize-32 to...
* sysdeps/mips/mips32/Implies: New file.
* sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
ret_NOERRNO): New.
(ret, PSEUDO_END): Moved past END.
(PSEUDO): Moved to...
* sysdeps/unix/mips/mips32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
* sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.
2003-03-29 08:15:29 +00:00
Alexandre Oliva
7f3bcde0d1 * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
Re-introduce ENTRY.
2003-03-29 08:01:57 +00:00
Alexandre Oliva
a9b0e91911 * sysdeps/unix/mips/sysdep.S: Include sys/asm.h. 2003-03-28 07:02:35 +00:00
Alexandre Oliva
faef8a3c25 * sysdeps/unix/sysv/linux/mips/configure: Rebuilt. 2003-03-28 06:11:03 +00:00
Roland McGrath
44acff5d04 2003-03-27 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
	unconditional mov.  Remove nop.
2003-03-27 02:45:49 +00:00
Roland McGrath
227de9dd23 2003-03-27 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
	* sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
	when __ASSUME_VFORK_SYSCALL is defined.
	* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
	__ASSUME_MMAP2_SYSCALL.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
	__ASSUME_REALTIME_SIGNALS.
2003-03-27 02:45:46 +00:00
Ulrich Drepper
49d354ccdc (struct siginfo): Avoid no-op padding element. 2003-03-26 23:41:57 +00:00
Ulrich Drepper
8eecb601ef (struct siginfo): Adjust timer info for what the kernel provides these days.
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
Remove struct __pthread_attr_s forward declaration.
2003-03-26 04:48:10 +00:00
Andreas Schwab
64928a8889 Define ret_NOERRNO. 2003-03-25 23:15:40 +00:00
Ulrich Drepper
f30a759d97 (__TIMER_T_TYPE): Define as void*. 2003-03-25 21:59:17 +00:00
Alexandre Oliva
f4e9c08c59 * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
Define.
* sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
ISA tests.
(ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
(PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
old_kernel_sigaction): Likewise.
2003-03-25 21:51:53 +00:00
Roland McGrath
e0dc73c1e3 2003-03-24 Daniel Jacobowitz <drow@mvista.com>
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
	(DOARGS_5, DOARGS_6, DOARGS_7): Rewritten.
2003-03-25 09:44:29 +00:00
Ulrich Drepper
cf666e4bf9 INTERNAL_SYSCALL): Remove a1 from clobber list. 2003-03-24 19:00:28 +00:00
Ulrich Drepper
98f7320f07 Define PSEUDO_NOERRNO, PSEUDO_END_NOERRNO, and ret_NOERRNO. 2003-03-23 19:42:23 +00:00
Roland McGrath
2f15520df9 2003-03-21 Daniel Jacobowitz <drow@mvista.com>
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
	(SINGLE_THREAD_P_PIC): Use "reg" instead of "lr".
2003-03-21 20:49:58 +00:00
Alexandre Oliva
fe638fda3c * sysdeps/unix/sysv/linux/mips/pread.c: Don't break up offset
into high and low halves on n64.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2003-03-20 20:58:02 +00:00
Alexandre Oliva
a8a1e840a1 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
with a single instruction.
2003-03-20 07:54:56 +00:00
Alexandre Oliva
be1222911f * sysdeps/mips/mips64/Implies: Move wordsize-64 to...
* sysdeps/mips/mips64/n64/Implies: New file.
* sysdeps/mips/mips64/n64/Makefile: New file.
* sysdeps/mips/mips64/n64/el/bits/endian.h: New file.
* sysdeps/mips/mips64/n32/Implies: New file.
* sysdeps/mips/mips64/n32/Makefile: New file.
* sysdeps/mips/mips64/n32/el/bits/endian.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/mips/mips64/llseek.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/recv.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/send.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S: New file.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/mips/mips64/umount.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: New file.
2003-03-17 16:20:44 +00:00
Alexandre Oliva
d5510eee99 * sysdeps/unix/sysv/linux/configure.in (libc_cv_slibdir): Use
lib64 for mips64/n64 and lib32 for mips64/n32.
(ldd_rewrite_script): Needed for all mips64 configurations.
* sysdeps/unix/sysv/linux/configure: Rebuilt.
* sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/mips/mips64/Dist: New file.
2003-03-17 15:57:19 +00:00
Alexandre Oliva
bb4002d601 * sysdeps/unix/sysv/linux/mips/configure.in: New. Pre-process
asm/unistd.h into asm-unistd.h.
* sysdeps/unix/sysv/linux/mips/configure: Generated.
* sysdeps/unix/sysv/linux/mips/Makefile: Do custom processing
of syscall list.
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: New file.
* sysdeps/unix/sysv/linux/mips/clone.S: Don't include
asm/unistd.h.
2003-03-17 15:50:05 +00:00
Alexandre Oliva
77f047e8a4 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: New file.
* sysdeps/unix/sysv/linux/mips/ptrace.c: New file.  Use long
long type for registers on n32.
2003-03-17 15:48:52 +00:00
Alexandre Oliva
ca2b264c24 * sysdeps/mips/bits/wordsize.h: New file, appropriate for all
3 ABIs.
* sysdeps/mips/mips64/gmp-mparam.h: New file.  Define
BITS_PER_LONGINT to __WORDSIZE, to match all 3 ABIs.
* sysdeps/mips/setjmp_aux.c (STRINGXP, REGS, PTRS): New macros.
(__sigsetjmp_aux): Use them.  Adjust for all 3 ABIs.
* sysdeps/mips/elf/start.S: Adjust for all 3 ABIs.
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
* sysdeps/mips/bits/setjmp.h (__jmp_buf): Likewise.
* sysdeps/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/profcs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-setjmp.S: Likewise.
* sysdeps/mips/mips64/setjmp.S: Likewise.
* sysdeps/mips/mips64/bits/setjmp.h: Deleted, obsolete.
* sysdeps/mips/mips64/soft-fp/sfp-machine.h: Use long long for
64-bit types.
2003-03-17 15:47:13 +00:00
Alexandre Oliva
d2e29db722 * sysdeps/unix/sysv/linux/mips/readelflib.c: New file. 2003-03-14 07:52:05 +00:00
Alexandre Oliva
ab35974e21 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h
(_KERNEL_NSIG_BPW): Define in terms of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Define restore and
restore_rt functions.  Use them.
2003-03-14 07:49:05 +00:00
Alexandre Oliva
1dd24665be * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
.set mips2 on new abis.
2003-03-14 07:03:36 +00:00
Roland McGrath
3e9a97580a 2003-03-13 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/add_n.S: Use L macro for local labels.
	* sysdeps/mips/addmul_1.S: Likewise.
	* sysdeps/mips/lshift.S: Likewise.
	* sysdeps/mips/memcpy.S: Likewise.
	* sysdeps/mips/memset.S: Likewise.
	* sysdeps/mips/mul_1.S: Likewise.
	* sysdeps/mips/rshift.S: Likewise.
	* sysdeps/mips/sub_n.S: Likewise.
	* sysdeps/mips/submul_1.S: Likewise.
	* sysdeps/mips/mips64/add_n.S: Likewise.
	* sysdeps/mips/mips64/addmul_1.S: Likewise.
	* sysdeps/mips/mips64/lshift.S: Likewise.
	* sysdeps/mips/mips64/mul_1.S: Likewise.
	* sysdeps/mips/mips64/rshift.S: Likewise.
	* sysdeps/mips/mips64/sub_n.S: Likewise.
	* sysdeps/mips/mips64/submul_1.S: Likewise.
	* sysdeps/unix/mips/sysdep.h: Define L() according to ABI
	conventions.  Define END as in sys/asm.h.
	* sysdeps/unix/mips/sysdep.S: Likewise.
	* sysdeps/unix/mips/wait.S: Likewise.
	* sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2003-03-14 03:59:37 +00:00
Andreas Jaeger
28a8f69901 Introduce and use local
label .Lthread_start since current binutils don't allow branches
	to globally visible symbols.
2003-03-13 15:07:13 +00:00
Ulrich Drepper
ced89ec318 (__thread_start): Use jal instead of jalr to invoke subroutine so
restoring the $gp register will work properly.
2003-03-12 01:04:51 +00:00
Andreas Jaeger
3347c3ad39 2003-03-04 Guido Guenther <agx@sigxcpu.org>
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
	stubs, we have INLINE_SYSCALL.
	* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
	MAP_NONBLOCK.
2003-03-07 09:46:33 +00:00
Ulrich Drepper
aca56a7fa5 Define MAP_POPULATE and MAP_NONBLOCK. 2003-03-03 09:58:55 +00:00
Ulrich Drepper
2b6aa9b399 (init_iosys): Yield ENODEV on unknown systems. 2003-02-20 22:22:35 +00:00
Ulrich Drepper
114e7d5005 (INLINE_SYSCALL): Add missing arguments to INTERNAL_SYSCALL_ERROR_P and
INTERNAL_SYSCALL_ERRNO.
2003-02-20 20:22:20 +00:00
Andreas Schwab
e96c2b656b Add MADV_* and POSIX_MADV_* constants. 2003-02-20 13:23:24 +00:00
Ulrich Drepper
28445fd3b2 Add posix_fadvise64 syscall. 2003-02-05 23:29:25 +00:00
Ulrich Drepper
94b1e5e52f Remove __GI_* aliases, already added by make-syscalls.sh. 2003-01-31 03:40:10 +00:00
Ulrich Drepper
c25d936b99 (SYSCALL_ERROR_LABEL): Define. 2003-01-27 20:15:03 +00:00
Ulrich Drepper
4f211d1748 Don't set errno in the _LIBC_REENTRANT case, use register names consistently. 2003-01-27 19:01:25 +00:00
Ulrich Drepper
ca0eea4226 Add support for cancellation handling and handle both __NR_pwrite64 and
__NR_pwrite.
2003-01-27 19:01:03 +00:00
Ulrich Drepper
8c5a1c7889 Add support for cancellation handling and handle both __NR_pread64 and
__NR_pread.
2003-01-27 19:00:40 +00:00
Roland McGrath
3de1f4af04 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.
2003-01-22 02:07:54 +00:00
Ulrich Drepper
af215add0a (EPILOGUE, GPSAVEREG): New.
(LOADGP) [!PIC]: Rewrite to preserve caller's gp.
2003-01-17 19:19:55 +00:00
Ulrich Drepper
0aced2c569 (__vfork): Conditionally branch to __fork even if __NR_vfork is not defined. 2003-01-15 01:06:06 +00:00
Ulrich Drepper
9da3df1021 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
2003-01-15 01:02:03 +00:00
Ulrich Drepper
259eb5cdb8 (INLINE_SYSCALL): Undefined before defining. 2003-01-14 01:23:59 +00:00
Ulrich Drepper
aaadd842d8 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.
2003-01-12 19:25:52 +00:00
Ulrich Drepper
411c121bce Move inline syscall bits to sysdeps/unix/alpha/sysdep.h. 2003-01-12 19:23:41 +00:00
Ulrich Drepper
df162e7602 Use correct definition of errno for NOT_IN_libc. 2003-01-12 19:23:03 +00:00
Ulrich Drepper
f5e2ab0edb vfork implementation for LinuxThreads/Arm. 2003-01-12 09:16:06 +00:00
Ulrich Drepper
e62ed29b3b (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.
2003-01-12 09:14:25 +00:00
Ulrich Drepper
191cbebf58 Add cancellation support. 2003-01-12 09:06:28 +00:00
Andreas Jaeger
9cc157d474 * sysdeps/unix/mips/fork.S: add PSEUDO_END.
* sysdeps/unix/mips/brk.S: Likewise.
	* sysdeps/unix/mips/pipe.S: Likewise.
2003-01-11 15:26:35 +00:00
Andreas Schwab
c7aa3cacfc GET_NPROCS_PARSER for m68k. 2003-01-10 15:36:20 +00:00
Andreas Schwab
2eb7464224 Optimize for kernels which are known to have the vfork syscall. 2003-01-10 14:05:26 +00:00
Ulrich Drepper
aeeec7fb5e (INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
Add err argument.
(INTERNAL_SYSCALL_DECL): Define.
2003-01-09 04:09:26 +00:00
Ulrich Drepper
51c050b0f7 Add INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros. 2003-01-09 04:06:05 +00:00
Ulrich Drepper
c05bc2ca7b (__socket): Use SYSCALL_ERROR in place of __syscall_error. 2003-01-08 00:15:33 +00:00
Ulrich Drepper
2f0910ca96 (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.
2003-01-08 00:15:07 +00:00
Ulrich Drepper
721fe4656c (syscall_error): Optimise a little.
[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.
2003-01-08 00:14:43 +00:00
Ulrich Drepper
b8cce412d2 (ntp_adjtime): New weak alias. 2003-01-07 23:51:48 +00:00
Ulrich Drepper
2e2b5f5622 Add cancellation handling. 2003-01-07 00:48:34 +00:00
Ulrich Drepper
7d983cbb36 (PSEUDO): Use PSEUDO_PREPARE_ARGS. 2003-01-07 00:47:52 +00:00
Ulrich Drepper
ddf42be0e2 Syscall cancellation handling for Arm. 2003-01-07 00:39:17 +00:00
Ulrich Drepper
d45a8f827e (inline_syscall_r0_constraint): Rename to...
(inline_syscall_r0_out_constraint): ... this.  Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
2003-01-06 23:52:06 +00:00
Andreas Schwab
2bf8a54e87 Add nanosecond fields. 2003-01-04 22:51:16 +00:00
Ulrich Drepper
d0a6689abf (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.
2003-01-03 21:59:45 +00:00
Ulrich Drepper
eb22472e6f (__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.
2003-01-03 00:42:10 +00:00
Ulrich Drepper
7de021d588 (__GI_accept): New alias to accept. 2002-12-31 20:44:02 +00:00
Ulrich Drepper
40efe6690b (accept): Add libc_hidden_def. 2002-12-31 20:41:23 +00:00
Ulrich Drepper
ff1d023da3 (__lseek): Add libc_hidden_def. 2002-12-31 20:40:18 +00:00
Ulrich Drepper
db16023193 Use libc_hidden_def(name) instead of strong_alias (name, __GI_name). 2002-12-31 20:37:32 +00:00
Andreas Jaeger
7922283928 * 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.
2002-12-31 13:24:33 +00:00
Ulrich Drepper
c505de0a40 Add __GI___vfork alias. 2002-12-31 11:10:33 +00:00
Ulrich Drepper
7e587d1822 Add __GI___fork alias. 2002-12-31 11:07:26 +00:00
Ulrich Drepper
7a077bd196 Add libc_hidden_def for __fork. 2002-12-31 11:05:04 +00:00
Ulrich Drepper
c63e402a12 Add libc_hidden_def for __nanosleep. 2002-12-31 10:22:40 +00:00
Andreas Schwab
e88c122c4f Add cancellation support. 2002-12-27 22:15:18 +00:00
Andreas Schwab
4b5b9a0718 Fix thinko. 2002-12-21 21:05:31 +00:00
Andreas Schwab
9d3831f374 (SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant. 2002-12-21 20:08:15 +00:00
Andreas Schwab
fb9016614d Fix warning. 2002-12-21 20:07:49 +00:00
Andreas Schwab
5d384858ff (INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
2002-12-21 19:36:50 +00:00
Andreas Schwab
d68f861c07 Use INTERNAL_SYSCALL. 2002-12-21 19:36:29 +00:00
Ulrich Drepper
c025bbf609 Elide compatibility cruft when new enough kernel is assumed. 2002-12-21 18:37:16 +00:00
Ulrich Drepper
5b52ee1753 Small optimisation. 2002-12-21 18:36:55 +00:00
Ulrich Drepper
9526f1fb77 Define SHM_HUGETLB. 2002-12-20 10:31:10 +00:00
Ulrich Drepper
762566f73f (msgrcv, msgsnd): Make cancelable. 2002-12-18 01:27:42 +00:00
Ulrich Drepper
519d2b2e9f Convert GCC extension initializer syntax to C99. 2002-12-16 23:17:43 +00:00
Roland McGrath
5a9c848490 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.
2002-12-16 10:25:34 +00:00
Andreas Schwab
e81a170b78 Make inline syscall to _exit. 2002-12-15 21:39:21 +00:00
Ulrich Drepper
8ea965156d (accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
cancelable.
2002-12-15 00:52:49 +00:00
Ulrich Drepper
9de983ba90 (llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Make cancelable.
2002-12-15 00:49:51 +00:00
Ulrich Drepper
3bfd489bb9 (__libc_sigsuspend): Likewise. 2002-12-10 20:33:27 +00:00
Ulrich Drepper
b344de66b6 (__libc_select): New alias. 2002-12-10 20:33:12 +00:00
Ulrich Drepper
99c37bc7d8 Added SHMLBA #define. 2002-12-08 22:53:46 +00:00
Roland McGrath
fec78d3f4e 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.
2002-12-05 23:46:39 +00:00
Ulrich Drepper
3a56243bb0 (struct sigevent): Change type of _attribute to void*. 2002-12-05 00:23:59 +00:00
Roland McGrath
3c49a7f2c2 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.
2002-12-03 07:28:08 +00:00
Ulrich Drepper
8545e2d25e (inline_syscall*): Avoid "=v" constraints. 2002-11-28 22:47:27 +00:00