mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-23 19:31:15 +01:00
elf2rpl: Align textSize, dataSize, loadSize.
This commit is contained in:
parent
bc12c9abef
commit
8add0d0503
@ -380,6 +380,10 @@ generateFileInfoSection(ElfFile &file)
|
||||
}
|
||||
}
|
||||
|
||||
info.textSize = align_up(info.textSize, info.textAlign);
|
||||
info.dataSize = align_up(info.dataSize, info.dataAlign);
|
||||
info.loadSize = align_up(info.loadSize, info.loadAlign);
|
||||
|
||||
auto section = std::make_unique<ElfFile::Section>();
|
||||
section->header.name = 0u;
|
||||
section->header.type = elf::SHT_RPL_FILEINFO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user