aboutsummaryrefslogtreecommitdiff
path: root/src/link/Coff.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-09-10 00:18:39 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-09-10 00:18:39 +0200
commitfc5a6e0e327c1b671aa782d24059e27e5aa55c84 (patch)
treedb51f363314a023bec3c9c5eefc05839971a5c4a /src/link/Coff.zig
parentd8f210354577eda1b438d692b28bb3a582913b5a (diff)
downloadzig-fc5a6e0e327c1b671aa782d24059e27e5aa55c84.tar.gz
zig-fc5a6e0e327c1b671aa782d24059e27e5aa55c84.zip
x86_64: combine got_load, direct_load and imports_load into linker_load MCV
Diffstat (limited to 'src/link/Coff.zig')
-rw-r--r--src/link/Coff.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link/Coff.zig b/src/link/Coff.zig
index ea36c8bc91..013a0c0475 100644
--- a/src/link/Coff.zig
+++ b/src/link/Coff.zig
@@ -127,7 +127,7 @@ pub const Reloc = struct {
@"type": enum {
got,
direct,
- imports,
+ import,
},
target: SymbolWithLoc,
offset: u32,
@@ -141,7 +141,7 @@ pub const Reloc = struct {
switch (self.@"type") {
.got => return coff_file.getGotAtomForSymbol(self.target),
.direct => return coff_file.getAtomForSymbol(self.target),
- .imports => return coff_file.getImportAtomForSymbol(self.target),
+ .import => return coff_file.getImportAtomForSymbol(self.target),
}
}
};