aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorJacob G-W <jacoblevgw@gmail.com>2021-06-13 21:29:32 -0400
committerAndrew Kelley <andrew@ziglang.org>2021-07-08 14:12:07 -0700
commitdb2d5b49c693b8a38743232b83a6ee1eab8e6468 (patch)
tree5d52790c19c1bd35bb7a85699f9777c267aeea46 /src/link.zig
parent166dffb08811cb4ad7ea8ca65ef99b49d2986b94 (diff)
downloadzig-db2d5b49c693b8a38743232b83a6ee1eab8e6468.tar.gz
zig-db2d5b49c693b8a38743232b83a6ee1eab8e6468.zip
plan9 linker: use a global offset table
this simplifies stuff and makes us not have to use relocations
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig
index 9447397428..2c1f048f63 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -348,7 +348,7 @@ pub const File = struct {
.macho => return @fieldParentPtr(MachO, "base", base).allocateDeclIndexes(decl),
.c => return @fieldParentPtr(C, "base", base).allocateDeclIndexes(decl),
.wasm => return @fieldParentPtr(Wasm, "base", base).allocateDeclIndexes(decl),
- .plan9 => {},
+ .plan9 => return @fieldParentPtr(Plan9, "base", base).allocateDeclIndexes(decl),
.spirv => {},
}
}