From 5640182e962a3190dd28eff714cdda9de2d3f877 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 22 Feb 2002 00:10:00 +0000 Subject: Several mips fixes from Geoffrey Espin. With these, busybox with ash/vi/etc now works just fine with uClibc on mips. --- libc/sysdeps/linux/mips/_mmap.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libc/sysdeps/linux/mips/_mmap.c (limited to 'libc/sysdeps/linux/mips/_mmap.c') diff --git a/libc/sysdeps/linux/mips/_mmap.c b/libc/sysdeps/linux/mips/_mmap.c new file mode 100644 index 000000000..43fb0be74 --- /dev/null +++ b/libc/sysdeps/linux/mips/_mmap.c @@ -0,0 +1,8 @@ +/* Use new style mmap for mips */ +#include +#include +#include +#include + +_syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot, + int, flags, int, fd, __off_t, offset); -- cgit v1.2.3