Skip to content

Commit 60d1593

Browse files
committed
Increase the relocation limit
1 parent d795ca5 commit 60d1593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tinykvm/machine_elf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ bool Machine::relocate_section(const char* section_name, const char* sym_section
263263
return false;
264264
}
265265
const size_t rela_ents = rela->sh_size / sizeof(Elf64_Rela);
266-
if (rela_ents > 16384) {
266+
if (rela_ents > 524288) {
267267
throw MachineException("Too many relocations", rela_ents);
268268
}
269269

0 commit comments

Comments
 (0)