From 5cef9a85b8763e1ea00ae65256e20d1377d5d27f Mon Sep 17 00:00:00 2001 From: Ajay Dudani Date: Fri, 2 Oct 2009 20:23:39 -0700 Subject: bionic: Update virtual memory map as mmap area is moved with 2G VM split --- linker/linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linker/linker.c') diff --git a/linker/linker.c b/linker/linker.c index 292cf46..789a828 100644 --- a/linker/linker.c +++ b/linker/linker.c @@ -698,7 +698,7 @@ get_lib_extents(int fd, const char *name, void *__hdr, unsigned *total_sz) static int reserve_mem_region(soinfo *si) { void *base = mmap((void *)si->base, si->size, PROT_READ | PROT_EXEC, - MAP_PRIVATE | MAP_FIXED | MAP_ANONYMOUS, -1, 0); + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); if (base == MAP_FAILED) { DL_ERR("%5d can NOT map (%sprelinked) library '%s' at 0x%08x " "as requested, will try general pool: %d (%s)", -- cgit v1.1