commit d794f4cd2a1e62334ba6b413864bc33bae6d41ef (tree)
parent 7e52a096dbace546cae89ab691741ecca45f28ce
Author: Jakub Konka <kubkon@jakubkonka.com>
Date: Sun, 1 Aug 2021 18:05:07 +0200
macho: add runaway section id when sorting sections
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/link/MachO.zig b/src/link/MachO.zig
@@ -1471,6 +1471,7 @@ fn sortSections(self: *MachO) !void {
&self.cstring_section_index,
&self.ustring_section_index,
&self.text_const_section_index,
+ &self.objc_methlist_section_index,
&self.objc_methname_section_index,
&self.objc_methtype_section_index,
&self.objc_classname_section_index,