mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-22 11:01:11 +01:00
Assume largest possible size increase after alignment for tempSize
This commit is contained in:
parent
c9f357d695
commit
91b00dcab2
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user