From b8505fb3bb6ee71024f5bbedfdebb071af72156a Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 25 Oct 2020 16:05:19 +0900 Subject: [PATCH] temporary --- output_chunks.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/output_chunks.cc b/output_chunks.cc index 77e8a108..45b0160f 100644 --- a/output_chunks.cc +++ b/output_chunks.cc @@ -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; }