mirror of
https://github.com/rui314/mold.git
synced 2024-12-27 10:23:41 +03:00
temporary
This commit is contained in:
parent
d2ec11ac4b
commit
b8505fb3bb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user