ldso: increase MEM_SIZE in 'mmap()'

MEM_SIZE needs to get increased for the 64-bit 'linux_x86' platform when
building with -O0 on the current master branch.

Fixes #970.
This commit is contained in:
Christian Prochaska 2013-11-07 16:38:03 +01:00 committed by Norman Feske
parent ab65a489ce
commit 4e9303ff6e
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ extern "C" void *mmap(void *addr, size_t length, int prot, int flags, int fd, of
/* called during ldso relocation */
if (flags & MAP_LDSO) {
enum { MEM_SIZE = 44 * 1024 };
enum { MEM_SIZE = 48 * 1024 };
static char _mem[MEM_SIZE];
/* generate fault on allocation */