authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-11-07 14:47:11+01:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2023-11-07 14:47:11+01:00
log31b280c78f41fd36caa2d1ba194b36dc9ec56a28
tree8134ed787842e9db4b6cf06c085eae02fabcf027
parent0211d6bf4f0da9ebea91fe8378181f354b89f073

elf: emit .rela.eh_frame section header if required


1 files changed, 1 insertions(+), 0 deletions(-)

src/link/Elf.zig+1
......@@ -3452,6 +3452,7 @@ fn initSectionsObject(self: *Elf) !void {
34523452 .addralign = ptr_size,
34533453 .offset = std.math.maxInt(u64),
34543454 });
3455 _ = try self.addRelaShdr(".rela.eh_frame", self.eh_frame_section_index.?);
34553456 }
34563457
34573458 try self.initSymtab();