diff --git a/os/src/lib/ldso/file.cc b/os/src/lib/ldso/file.cc index 57964923b..941281dc7 100644 --- a/os/src/lib/ldso/file.cc +++ b/os/src/lib/ldso/file.cc @@ -292,7 +292,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 = 32 * 1024 }; + enum { MEM_SIZE = 36 * 1024 }; static char _mem[MEM_SIZE]; /* generate fault on allocation */