mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-21 16:41:56 +03:00
elf: emit .rela.eh_frame section header if required
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user