| ... | @@ -3070,7 +3070,7 @@ fn allocateSection(self: *MachO, segname: []const u8, sectname: []const u8, opts | ... | @@ -3070,7 +3070,7 @@ fn allocateSection(self: *MachO, segname: []const u8, sectname: []const u8, opts |
| 3070 | .cmdsize = @sizeOf(macho.segment_command_64) + @sizeOf(macho.section_64), | 3070 | .cmdsize = @sizeOf(macho.segment_command_64) + @sizeOf(macho.section_64), |
| 3071 | }; | 3071 | }; |
| 3072 | | 3072 | |
| 3073 | const sect_id = try self.initSection(sectname, segname, .{ | 3073 | const sect_id = try self.initSection(segname, sectname, .{ |
| 3074 | .flags = opts.flags, | 3074 | .flags = opts.flags, |
| 3075 | .reserved2 = opts.reserved2, | 3075 | .reserved2 = opts.reserved2, |
| 3076 | }); | 3076 | }); |