1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-25 16:05:19 +09:00
parent d2ec11ac4b
commit b8505fb3bb

View File

@ -118,6 +118,7 @@ void OutputSection::set_fileoff(uint64_t off) {
isec->fileoff = off;
} else {
for (InputSection *isec : chunks) {
off = align_to(off, isec->shdr.sh_addralign);
isec->fileoff = off;
off += isec->shdr.sh_size;
}