Assume largest possible size increase after alignment for tempSize

This commit is contained in:
shinyquagsire23 2016-07-23 19:57:59 -07:00
parent c9f357d695
commit 91b00dcab2

View File

@ -1014,7 +1014,7 @@ write(ElfFile &file, const std::string &filename)
fileInfo.loadSize = val; fileInfo.loadSize = val;
} }
} else if (section->header.type == elf::SHT_RELA) { } else if (section->header.type == elf::SHT_RELA) {
fileInfo.tempSize += align_up(size, 64); fileInfo.tempSize += (size + 128);
} }
} }