diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/sys/syscall.h | 9 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/syscalls.list | 8 |
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index ec35b652e1..6010534b24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-02-09 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls. + + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls. + 2000-02-08 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo. diff --git a/sysdeps/unix/sysv/linux/mips/sys/syscall.h b/sysdeps/unix/sysv/linux/mips/sys/syscall.h index 36214e4162..27dc08aa5b 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/syscall.h +++ b/sysdeps/unix/sysv/linux/mips/sys/syscall.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -1203,5 +1203,12 @@ #define SYS_sendfile (SYS_Linux + 207) #define SYS_putpmsg (SYS_Linux + 208) #define SYS_getpmsg (SYS_Linux + 209) +#define SYS_mmap2 (SYS_Linux + 210) +#define SYS_truncate64 (SYS_Linux + 211) +#define SYS_ftruncate64 (SYS_Linux + 212) +#define SYS_stat64 (SYS_Linux + 213) +#define SYS_lstat64 (SYS_Linux + 214) +#define SYS_fstat64 (SYS_Linux + 215) + #endif /* sys/syscall.h */ diff --git a/sysdeps/unix/sysv/linux/mips/syscalls.list b/sysdeps/unix/sysv/linux/mips/syscalls.list index a4cae307d1..6bb4451ff3 100644 --- a/sysdeps/unix/sysv/linux/mips/syscalls.list +++ b/sysdeps/unix/sysv/linux/mips/syscalls.list @@ -50,20 +50,28 @@ rt_sigqueueinfo - rt_sigqueueinfo 3 __syscall_rt_sigqueueinfo rt_sigsuspend - rt_sigsuspend 2 __syscall_rt_sigsuspend rt_sigtimedwait - rt_sigtimedwait 4 __syscall_rt_sigtimedwait s_execve execve execve 3 __syscall_execve +s_fstat64 fxstat64 fstat64 2 __syscall_fstat64 +s_ftruncate64 ftruncate64 ftruncate64 3 __syscall_ftruncate64 s_getcwd getcwd getcwd 2 __syscall_getcwd s_getdents getdents getdents 3 __syscall_getdents +s_getpmsg getpmsg getpmsg 5 __syscall_getpmsg s_getpriority getpriority getpriority 2 __syscall_getpriority s_getresgid getresgid getresgid 3 __syscall_getresgid s_getresuid getresuid getresuid 3 __syscall_getresuid s_ipc msgget ipc 5 __syscall_ipc +s_lstat64 lxstat64 lstat64 2 __syscall_lstat64 s_poll poll poll 3 __syscall_poll s_pread64 pread64 pread 6 __syscall_pread +s_putpmsg putpmsg putpmsg 5 __syscall_putpmsg s_ptrace ptrace ptrace 4 __syscall_ptrace s_pwrite64 pwrite64 pwrite 6 __syscall_pwrite s_reboot reboot reboot 3 __syscall_reboot s_setrlimit setrlimit setrlimit 3 __syscall_setrlimit s_sigpending sigpending sigpending 1 __syscall_sigpending s_sigprocmask sigprocmask sigprocmask 3 __syscall_sigprocmask +s_stat64 xstat64 stat64 2 __syscall_stat64 +s_truncate64 truncate64 truncate64 3 __syscall_truncate64 + # Todo: we can pass 6 args in registers, no need for the wrapper sysctl sysctl _sysctl 1 __syscall_sysctl sys_fstat fxstat fstat 2 __syscall_fstat |