diff options
Diffstat (limited to 'src/codegen.zig')
| -rw-r--r-- | src/codegen.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.zig b/src/codegen.zig index 38cc27d5bc..d5b106dbe3 100644 --- a/src/codegen.zig +++ b/src/codegen.zig @@ -2714,7 +2714,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type { // Add relocation to the decl. try macho_file.active_decl.?.link.macho.relocs.append(self.bin_file.allocator, .{ .offset = offset, - .where = .import, + .where = .undef, .where_index = where_index, .payload = .{ .branch = .{ .arch = arch, |
