From 1f6145faf0b4e1fdbd5ad7240896bec9804e7ff5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 27 Jun 2003 07:49:25 +0000 Subject: Mention that the common mmap64 is a stub and must be overridden on a per arch basis using platform specific code --- libc/sysdeps/linux/common/mmap64.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/sysdeps/linux/common/mmap64.c') diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index 73407c4cf..0a67abba2 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -22,6 +22,13 @@ #include #include +/* Massivly hackd up for uClibc by Erik Andersen + * + * This version is a stub that just chops off everything at the mmap 32 bit + * mmap() address space... You need to add in an arch specific implementation + * to override this as there is not a generic way for me to implement this + * particular syscall. */ + #if defined __UCLIBC_HAS_LFS__ #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 -- cgit v1.2.3