authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2024-01-28 14:20:39+01:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2024-01-29 07:26:59+01:00
logec757ea666a7549c5f144e2925ce3ccb396fe4c0
tree3f5a03eae6903f84947a083aa4f5f430ce774cbf
parent5dbac19d8c99478443885fab978d1d6558422ba4

macho: reset Zig-tracked section handles


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

src/link/MachO.zig+4
...@@ -2052,7 +2052,11 @@ pub fn sortSections(self: *MachO) !void {...@@ -2052,7 +2052,11 @@ pub fn sortSections(self: *MachO) !void {
2052 for (&[_]*?u8{2052 for (&[_]*?u8{
2053 &self.data_sect_index,2053 &self.data_sect_index,
2054 &self.got_sect_index,2054 &self.got_sect_index,
2055 &self.zig_text_sect_index,
2055 &self.zig_got_sect_index,2056 &self.zig_got_sect_index,
2057 &self.zig_const_sect_index,
2058 &self.zig_data_sect_index,
2059 &self.zig_bss_sect_index,
2056 &self.stubs_sect_index,2060 &self.stubs_sect_index,
2057 &self.stubs_helper_sect_index,2061 &self.stubs_helper_sect_index,
2058 &self.la_symbol_ptr_sect_index,2062 &self.la_symbol_ptr_sect_index,