mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
elf: emit .rela.eh_frame section header if required
This commit is contained in:
parent
0211d6bf4f
commit
31b280c78f
@ -3452,6 +3452,7 @@ fn initSectionsObject(self: *Elf) !void {
|
||||
.addralign = ptr_size,
|
||||
.offset = std.math.maxInt(u64),
|
||||
});
|
||||
_ = try self.addRelaShdr(".rela.eh_frame", self.eh_frame_section_index.?);
|
||||
}
|
||||
|
||||
try self.initSymtab();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user