summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <Alexander.Gavrilov@at-software.com>2008-12-22 12:39:13 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-28 09:57:48 +0200
commitbc84a55135fb2b40efc3ae7b9c7867ab616fa8c5 (patch)
tree696b4cf10f51cf7582fc934015449351ebe49d0f
parent6f333bf7934906900368ea9718132b3731721e45 (diff)
Disable munmap for ARM/Darwin.gc6_8-iphone
This feature is largely experimental, and causes random mprotect failures on iPhone, so it is better to disable it. This makes allocation of memory to Neko permanent until termination of the application.
-rw-r--r--include/private/gcconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index 5554559..969c02a 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -1931,7 +1931,7 @@
# define STACKBOTTOM ((ptr_t) 0x30000000)
# define USE_MMAP
# define USE_MMAP_ANON
-# define USE_MUNMAP
+/*# define USE_MUNMAP*/
# endif
# ifdef NOSYS
/* __data_start is usually defined in the target linker script. */