mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-22 05:11:11 +01:00
Merge pull request #14 from shinyquagsire23/tempsize-fix-again
Assume largest possible size increase after alignment for tempSize
This commit is contained in:
commit
d01d8297e2
@ -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