| ... | @@ -281,7 +281,7 @@ fn addObjcMethnameSection(self: *InternalObject, methname: []const u8, macho_fil | ... | @@ -281,7 +281,7 @@ fn addObjcMethnameSection(self: *InternalObject, methname: []const u8, macho_fil |
| 281 | sym.nlist_idx = nlist_idx; | 281 | sym.nlist_idx = nlist_idx; |
| 282 | try self.globals.append(gpa, 0); | 282 | try self.globals.append(gpa, 0); |
| 283 | | 283 | |
| 284 | return atom_index; | 284 | return sym_index; |
| 285 | } | 285 | } |
| 286 | | 286 | |
| 287 | fn addObjcSelrefsSection(self: *InternalObject, methname_sym_index: Symbol.Index, macho_file: *MachO) !Symbol.Index { | 287 | fn addObjcSelrefsSection(self: *InternalObject, methname_sym_index: Symbol.Index, macho_file: *MachO) !Symbol.Index { |