summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-27 07:49:25 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-27 07:49:25 +0000
commit1f6145faf0b4e1fdbd5ad7240896bec9804e7ff5 (patch)
treed15e8c4705060679da2f3d2f178b0cb2c708bbd2 /libc/sysdeps/linux
parent3b3d8a2ee43a8eb0dae783ba89ef3fc7cf717706 (diff)
Mention that the common mmap64 is a stub and must be overridden
on a per arch basis using platform specific code
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/mmap64.c7
1 files changed, 7 insertions, 0 deletions
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 <sysdep.h>
#include <sys/mman.h>
+/* 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