Commit e9075241 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

elf: Allow up to 1G of memory being stored on disk

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent 2f3c929a
......@@ -31,7 +31,7 @@
#include "elf.h"
#define ELF_MAX_PHDR ((65536U / sizeof(Elf64_Phdr)) - 1)
#define ELF_MAX_PAGES (1 << 10)
#define ELF_MAX_PAGES ((1 << 30) / PAGE_IMAGE_SIZE)
/*
* Convert the c/r core file into elf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment