mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
macho: fix a typo in InternalObject.addObjcMethnameSection
This commit is contained in:
parent
90aa68cbfc
commit
d43b0cb31f
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ fn addObjcMethnameSection(self: *InternalObject, methname: []const u8, macho_fil
|
|||
sym.nlist_idx = nlist_idx;
|
||||
try self.globals.append(gpa, 0);
|
||||
|
||||
return atom_index;
|
||||
return sym_index;
|
||||
}
|
||||
|
||||
fn addObjcSelrefsSection(self: *InternalObject, methname_sym_index: Symbol.Index, macho_file: *MachO) !Symbol.Index {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue