diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-09-10 00:18:39 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-09-10 00:18:39 +0200 |
| commit | fc5a6e0e327c1b671aa782d24059e27e5aa55c84 (patch) | |
| tree | db51f363314a023bec3c9c5eefc05839971a5c4a /src/link | |
| parent | d8f210354577eda1b438d692b28bb3a582913b5a (diff) | |
| download | zig-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')
| -rw-r--r-- | src/link/Coff.zig | 4 |
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), } } }; |
