summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2011-11-21 11:15:51 -0800
committerAndrew Hsieh <andrewhsieh@google.com>2011-11-21 11:15:51 -0800
commitf0923605d5a436951478453ee6d2c428bc637dad (patch)
treeddf1bd8bc53fb78a2cd3d80c2cc257454c3676bf
parentec5d468bb925d7fe1aaa47b0cc4f084017531746 (diff)
downloadlinkloader-f0923605d5a436951478453ee6d2c428bc637dad.tar.gz
Re-enable mmap() address randomization (got turned off by accident)
Change-Id: Ie1c75ba5861bebf7a4f9d084f8fda66d8d6da07b
-rw-r--r--lib/MemChunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MemChunk.cpp b/lib/MemChunk.cpp
index 5a5cdbe..7dc3bb8 100644
--- a/lib/MemChunk.cpp
+++ b/lib/MemChunk.cpp
@@ -31,7 +31,7 @@
// define it as zero, so that it won't manipulate the flags.
#endif
-#define USE_FIXED_ADDR_MEM_CHUNK 1
+//#define USE_FIXED_ADDR_MEM_CHUNK 1
#if USE_FIXED_ADDR_MEM_CHUNK
static uintptr_t StartAddr = 0x7e000000UL;