mirror of
https://github.com/ziglang/zig.git
synced 2025-02-18 18:40:15 +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…
Reference in New Issue
Block a user