diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-11-04 18:59:04 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-11-05 10:15:01 +0100 |
| commit | 59fa0499c977b27450bc844ef30d7a8e83aeb20a (patch) | |
| tree | a2696896243bd7a9314bff3f5fc98d1f44379ce3 /src/link | |
| parent | 9618fdc8a2409e56999e16dec59034cf511872e4 (diff) | |
| download | zig-59fa0499c977b27450bc844ef30d7a8e83aeb20a.tar.gz zig-59fa0499c977b27450bc844ef30d7a8e83aeb20a.zip | |
coff: tentatively handle Obj in getImageBase() func
Diffstat (limited to 'src/link')
| -rw-r--r-- | src/link/Coff.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Coff.zig b/src/link/Coff.zig index 35769e7feb..d035a61728 100644 --- a/src/link/Coff.zig +++ b/src/link/Coff.zig @@ -2186,7 +2186,7 @@ pub fn getImageBase(self: Coff) u64 { else => unreachable, // unsupported target architecture }, .Lib => 0x10000000, - else => unreachable, + .Obj => 0, }; return image_base; } |
