elf: fix alignment of .eh_frame_hdr section

This commit is contained in:
Jakub Konka 2023-10-07 14:24:02 +02:00
parent a748ca3725
commit 06f3b385c4

View File

@ -3950,7 +3950,7 @@ fn initSections(self: *Elf) !void {
.name = ".eh_frame_hdr",
.type = elf.SHT_PROGBITS,
.flags = elf.SHF_ALLOC,
.addralign = ptr_size,
.addralign = 4,
});
}
}