Merge pull request #14 from shinyquagsire23/tempsize-fix-again

Assume largest possible size increase after alignment for tempSize
This commit is contained in:
James 2016-07-24 10:17:30 +01:00 committed by GitHub
commit d01d8297e2

View File

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