From b540e5d0b54d5e6a424628e4ed466486db5625f0 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 7 Sep 2000 15:46:19 +0000 Subject: Update. * sysdeps/unix/sysv/linux/mips/lockf64.c: New file. * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the syscalls. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/i386/fcntl.c | 4 ++++ sysdeps/unix/sysv/linux/mips/lockf64.c | 1 + sysdeps/unix/sysv/linux/mips/syscalls.list | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 sysdeps/unix/sysv/linux/mips/lockf64.c diff --git a/ChangeLog b/ChangeLog index 1a073c47e3..261f2e58dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2000-09-07 Andreas Jaeger + * sysdeps/unix/sysv/linux/mips/lockf64.c: New file. + + * sysdeps/unix/sysv/linux/i386/fcntl.c: Add prototypes for the + syscalls. + * sysdeps/unix/sysv/linux/mips/syscalls.list: Add __syscall_fcntl. * sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c index 962249a855..e67931ec71 100644 --- a/sysdeps/unix/sysv/linux/i386/fcntl.c +++ b/sysdeps/unix/sysv/linux/i386/fcntl.c @@ -24,6 +24,10 @@ #include #include "../kernel-features.h" +extern int __syscall_fcntl (int __fd, int __cmd, ...); +#ifdef __NR_fcntl64 +extern int __syscall_fcntl64 (int __fd, int __cmd, ...); +#endif #if __ASSUME_FCNTL64 == 0 /* This variable is shared with all files that check for fcntl64. */ diff --git a/sysdeps/unix/sysv/linux/mips/lockf64.c b/sysdeps/unix/sysv/linux/mips/lockf64.c new file mode 100644 index 0000000000..a88f5a784a --- /dev/null +++ b/sysdeps/unix/sysv/linux/mips/lockf64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/mips/syscalls.list b/sysdeps/unix/sysv/linux/mips/syscalls.list index c182f6c4eb..67f3cd259d 100644 --- a/sysdeps/unix/sysv/linux/mips/syscalls.list +++ b/sysdeps/unix/sysv/linux/mips/syscalls.list @@ -50,7 +50,7 @@ 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 execve execve i:spp __syscall_execve -s_fcntl - fcntl i:iiF __syscall_fcntl +s_fcntl fcntl fcntl i:iiF __syscall_fcntl s_fstat64 fxstat64 fstat64 i:ip __syscall_fstat64 s_ftruncate64 ftruncate64 ftruncate64 i:iiii __syscall_ftruncate64 s_getcwd getcwd getcwd i:pi __syscall_getcwd -- cgit v1.2.3