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:
parent
ab65a489ce
commit
4e9303ff6e
|
@ -294,7 +294,7 @@ extern "C" void *mmap(void *addr, size_t length, int prot, int flags, int fd, of
|
||||||
|
|
||||||
/* called during ldso relocation */
|
/* called during ldso relocation */
|
||||||
if (flags & MAP_LDSO) {
|
if (flags & MAP_LDSO) {
|
||||||
enum { MEM_SIZE = 44 * 1024 };
|
enum { MEM_SIZE = 48 * 1024 };
|
||||||
static char _mem[MEM_SIZE];
|
static char _mem[MEM_SIZE];
|
||||||
|
|
||||||
/* generate fault on allocation */
|
/* generate fault on allocation */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user