mirror of
https://github.com/wiiu-env/wut.git
synced 2025-02-02 01:43:23 +01:00
tempSize is based on all sections with a 0 address except RPL_CRCS and RPL_FILEINFO
This commit is contained in:
parent
f2e4e04805
commit
52d09f5a7b
@ -1007,7 +1007,7 @@ write(ElfFile &file, const std::string &filename)
|
||||
if(val > fileInfo.loadSize) {
|
||||
fileInfo.loadSize = val;
|
||||
}
|
||||
} else if (section->header.type == elf::SHT_RELA) {
|
||||
} else if (section->header.addr == 0 && section->header.type != elf::SHT_RPL_CRCS && section->header.type != elf::SHT_RPL_FILEINFO) {
|
||||
fileInfo.tempSize += (size + 128);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user