mirror of
https://github.com/ziglang/zig.git
synced 2026-01-07 14:03:26 +00:00
macho: fix not resetting __got_zig sect index after sorting headers
This commit is contained in:
parent
8f74d2519f
commit
eaf4bb4423
@ -2037,6 +2037,7 @@ pub fn sortSections(self: *MachO) !void {
|
||||
for (&[_]*?u8{
|
||||
&self.data_sect_index,
|
||||
&self.got_sect_index,
|
||||
&self.zig_got_sect_index,
|
||||
&self.stubs_sect_index,
|
||||
&self.stubs_helper_sect_index,
|
||||
&self.la_symbol_ptr_sect_index,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user