Commit Graph

1593 Commits

Author SHA1 Message Date
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
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
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
Andreas Schwab
0798f1ad5e Support inline syscall with six arguments. 2002-11-24 19:41:42 +00:00
Roland McGrath
859f3bbf75 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.
2002-11-19 09:26:56 +00:00
Roland McGrath
4d1f248e71 2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
        Define mcontext_t as a sigcontext.
2002-11-19 06:41:02 +00:00
Roland McGrath
b53661761b 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,
2002-11-09 00:36:04 +00:00
Roland McGrath
543d2ed9aa 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.
2002-11-08 02:18:49 +00:00
Roland McGrath
d5a256add3 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.
2002-11-08 02:18:48 +00:00
Roland McGrath
e8b06fdf73 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.
2002-11-08 02:18:45 +00:00
Roland McGrath
598b541b8c 2002-11-06 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/mips/configure.in: File removed.
	* sysdeps/unix/sysv/linux/mips/configure: Likewise.
2002-11-06 22:14:25 +00:00
Roland McGrath
f732ef26a8 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.
2002-11-06 02:53:24 +00:00
Roland McGrath
9cd89c3a1f 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.
2002-11-02 23:13:16 +00:00
Roland McGrath
db8eb98510 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.
2002-11-01 20:48:33 +00:00
Roland McGrath
8b995f35b9 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.
2002-10-25 19:41:24 +00:00
Roland McGrath
35ebee609c 2002-10-24 Roland McGrath <roland@redhat.com>
* sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
	* sysdeps/unix/sysv/linux/init-first.c: Not here.
	* sysdeps/powerpc/elf/libc-start.c: Or here.
	* sysdeps/unix/sysv/aix/libc-start.c: Or here.
	* sysdeps/unix/sysv/aix/start-libc.c: Or here.
	* sysdeps/unix/sysv/aix/init-first.c: Or here.
	* sysdeps/generic/libc-start.c: Or here.
	* sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
	access with [! SHARED].
	* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
2002-10-24 19:13:38 +00:00