mirror of
https://github.com/ziglang/zig.git
synced 2026-01-04 12:33:19 +00:00
elf: fix GOT32 reloc resolution logic
This commit is contained in:
parent
f0df0acd70
commit
c79290467f
@ -1314,7 +1314,7 @@ const x86_64 = struct {
|
||||
}
|
||||
},
|
||||
|
||||
.GOT32 => try cwriter.writeInt(i32, @as(i32, @intCast(G + GOT + A)), .little),
|
||||
.GOT32 => try cwriter.writeInt(i32, @as(i32, @intCast(G + A)), .little),
|
||||
|
||||
else => try atom.reportUnhandledRelocError(rel, elf_file),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user