a4baf360be
* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat. * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for nsec resolution changes. (xstat64_conv): Likewise. (xstat32_conv): Likewise. * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for struct kernel_stat. * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for structs stat and stat64. * time/time.h (__timespec_defined): Define for __USE_MISC. 2002-12-31 Ulrich Drepper <drepper@redhat.com> * include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin and __libc_current_sigrtmax. 2002-12-31 Jakub Jelinek <jakub@redhat.com> * include/errno.h (__errno_location): Add prototype. Use libc_hidden_proto unconditionally. * include/netdb.h (__h_errno_location): Use libc_hidden_proto unconditionally. * include/resolv.h (__res_state): Likewise. * hurd/errno-loc.c (__errno_location): Add libc_hidden_def. * include/sys/socket.h (accept): Add libc_hidden_proto. * include/errno.h (__errno_location): Likewise. * include/netdb.h (__h_errno_location): Likewise. * include/resolv.h (__res_state): Likewise. * include/unistd.h (__lseek): Likewise. * sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def. * sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise. * sysdeps/generic/res-state.c (__res_state): Likewise. * sysdeps/generic/accept.c (accept): Likewise. * sysdeps/generic/lseek.c (__lseek): Likewise. * sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin, __libc_current_sigrtmax): Likewise. * sysdeps/mach/hurd/accept.c (accept): Likewise. * sysdeps/mach/hurd/lseek.c (__lseek): Likewise. * sysdeps/unix/sysv/aix/accept.c (accept): Likewise. * sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise. * sysdeps/unix/sysv/linux/accept.S (accept): Likewise. * sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise. * sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New alias to llseek. (__GI_accept): New alias to accept. * sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek): New alias to llseek. (__GI_accept): New alias to accept. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept): Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept): Likewise. * sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek. * sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of strong_alias (name, __GI_name). * sysdeps/arm/bsd-_setjmp.S : Likewise. * sysdeps/hppa/bsd-_setjmp.S : Likewise. * sysdeps/i386/bsd-_setjmp.S : Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S : Likewise. * sysdeps/mips/bsd-_setjmp.S : Likewise. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise. * sysdeps/powerpc/powerpc64/setjmp.S : Likewise. * sysdeps/s390/s390-32/elf/setjmp.S : Likewise. * sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise. * sysdeps/s390/s390-64/elf/setjmp.S : Likewise. * sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise. * sysdeps/sh/bsd-_setjmp.S : Likewise. * sysdeps/sparc/sparc32/setjmp.S : Likewise. * sysdeps/unix/arm/fork.S : Likewise. * sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise. * sysdeps/unix/bsd/i386/vfork.S : Likewise. * sysdeps/unix/bsd/osf/alpha/fork.S : Likewise. * sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise. * sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise. * sysdeps/unix/bsd/vax/vfork.S : Likewise. * sysdeps/unix/i386/fork.S : Likewise. * sysdeps/unix/mips/fork.S : Likewise. * sysdeps/unix/sparc/fork.S : Likewise. * sysdeps/unix/sparc/vfork.S : Likewise. * sysdeps/unix/sysv/linux/arm/vfork.S : Likewise. * sysdeps/unix/sysv/linux/cris/vfork.S : Likewise. * sysdeps/unix/sysv/linux/i386/vfork.S : Likewise. * sysdeps/unix/sysv/linux/ia64/fork.S : Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise. * sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise. * sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise. * sysdeps/unix/sysv/linux/sh/vfork.S : Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise. * sysdeps/unix/sysv/linux/sparc/fork.S : Likewise. * sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise. * sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise. * sysdeps/unix/fork.S : Likewise. * sysdeps/vax/bsd-_setjmp.S : Likewise. * sysdeps/x86_64/bsd-_setjmp.S : Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple inclusion.
82 lines
3.6 KiB
Plaintext
82 lines
3.6 KiB
Plaintext
# File name Caller Syscall name Args Strong name Weak names
|
|
|
|
#
|
|
# Calls for compatibility with existing MIPS OS implementations and
|
|
# compilers.
|
|
#
|
|
cachectl - cachectl i:pii __cachectl cachectl
|
|
cacheflush - cacheflush i:pii _flush_cache cacheflush
|
|
sysmips - sysmips i:iiii __sysmips sysmips
|
|
|
|
s_sigsuspend sigsuspend sigsuspend i:p __syscall_sigsuspend
|
|
|
|
#
|
|
# Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
|
|
# it's provided for compatibility, though.
|
|
#
|
|
accept - accept Ci:iBN __libc_accept __accept accept __GI_accept
|
|
bind - bind i:ipi __bind bind
|
|
connect - connect Ci:ipi __libc_connect __connect_internal __connect connect
|
|
getpeername - getpeername i:ipp __getpeername getpeername
|
|
getsockname - getsockname i:ipp __getsockname getsockname
|
|
getsockopt - getsockopt i:iiiBN __getsockopt getsockopt
|
|
listen - listen i:ii __listen listen
|
|
recv - recv Ci:ibni __libc_recv __recv recv
|
|
recvfrom - recvfrom Ci:ibniBN __libc_recvfrom __recvfrom recvfrom
|
|
recvmsg - recvmsg Ci:ipi __libc_recvmsg __recvmsg recvmsg
|
|
send - send Ci:ibni __libc_send __send send
|
|
sendmsg - sendmsg Ci:ipi __libc_sendmsg __sendmsg sendmsg
|
|
sendto - sendto Ci:ibnibn __libc_sendto __sendto sendto
|
|
setsockopt - setsockopt i:iiibn __setsockopt setsockopt
|
|
shutdown - shutdown i:ii __shutdown shutdown
|
|
socket - socket i:iii __socket socket
|
|
socketpair - socketpair i:iiif __socketpair socketpair
|
|
|
|
#
|
|
# These are defined locally because the caller is also defined in this dir.
|
|
#
|
|
s_llseek llseek _llseek i:iiipi __syscall__llseek
|
|
s_sigaction sigaction sigaction i:ipp __syscall_sigaction
|
|
s_ustat ustat ustat i:ip __syscall_ustat
|
|
sys_mknod xmknod mknod i:sii __syscall_mknod
|
|
|
|
# System calls with wrappers.
|
|
rt_sigaction - rt_sigaction i:ippi __syscall_rt_sigaction
|
|
rt_sigpending - rt_sigpending i:pi __syscall_rt_sigpending
|
|
rt_sigprocmask - rt_sigprocmask i:ippi __syscall_rt_sigprocmask
|
|
rt_sigqueueinfo - rt_sigqueueinfo i:iip __syscall_rt_sigqueueinfo
|
|
rt_sigsuspend - rt_sigsuspend i:pi __syscall_rt_sigsuspend
|
|
rt_sigtimedwait - rt_sigtimedwait i:pppi __syscall_rt_sigtimedwait
|
|
s_execve EXTRA execve i:spp __syscall_execve
|
|
s_exit _exit exit i:i __syscall_exit
|
|
s_fcntl fcntl fcntl i:iiF __syscall_fcntl
|
|
s_fcntl64 fcntl64 fcntl64 i:iiF __syscall_fcntl64
|
|
s_fstat64 fxstat64 fstat64 i:ip __syscall_fstat64
|
|
s_ftruncate64 ftruncate64 ftruncate64 i:iiii __syscall_ftruncate64
|
|
s_getcwd getcwd getcwd i:pi __syscall_getcwd
|
|
s_getdents getdents getdents i:ipi __syscall_getdents
|
|
s_getdents64 getdents getdents64 i:ipi __syscall_getdents64
|
|
s_getpriority getpriority getpriority i:ii __syscall_getpriority
|
|
s_ipc msgget ipc i:iiiip __syscall_ipc
|
|
s_lstat64 lxstat64 lstat64 i:sp __syscall_lstat64
|
|
s_mmap2 mmap64 mmap2 b:aniiii __syscall_mmap2
|
|
s_poll poll poll i:pii __syscall_poll
|
|
s_pread64 pread64 pread i:ibniii __syscall_pread
|
|
s_ptrace ptrace ptrace i:iipp __syscall_ptrace
|
|
s_pwrite64 pwrite64 pwrite i:ibniii __syscall_pwrite
|
|
s_readahead EXTRA readahead i:iiii __syscall_readahead
|
|
s_reboot reboot reboot i:iii __syscall_reboot
|
|
s_setrlimit setrlimit setrlimit i:ip __syscall_setrlimit
|
|
s_sigpending sigpending sigpending i:p __syscall_sigpending
|
|
s_sigprocmask sigprocmask sigprocmask i:ipp __syscall_sigprocmask
|
|
s_stat64 xstat64 stat64 i:sp __syscall_stat64
|
|
s_truncate64 truncate64 truncate64 i:siii __syscall_truncate64
|
|
|
|
# Todo: we can pass 6 args in registers, no need for the wrapper
|
|
sys_sysctl sysctl _sysctl i:p __syscall__sysctl
|
|
sys_fstat fxstat fstat i:ip __syscall_fstat
|
|
sys_lstat lxstat lstat i:sp __syscall_lstat
|
|
sys_readv readv readv i:ipi __syscall_readv
|
|
sys_stat xstat stat i:sp __syscall_stat
|
|
sys_writev writev writev i:ipi __syscall_writev
|