authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-11-04 18:59:04+01:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-11-05 10:15:01+01:00
log59fa0499c977b27450bc844ef30d7a8e83aeb20a
treea2696896243bd7a9314bff3f5fc98d1f44379ce3
parent9618fdc8a2409e56999e16dec59034cf511872e4

coff: tentatively handle Obj in getImageBase() func


1 files changed, 1 insertions(+), 1 deletions(-)

src/link/Coff.zig+1-1
...@@ -2186,7 +2186,7 @@ pub fn getImageBase(self: Coff) u64 {...@@ -2186,7 +2186,7 @@ pub fn getImageBase(self: Coff) u64 {
2186 else => unreachable, // unsupported target architecture2186 else => unreachable, // unsupported target architecture
2187 },2187 },
2188 .Lib => 0x10000000,2188 .Lib => 0x10000000,
2189 else => unreachable,2189 .Obj => 0,
2190 };2190 };
2191 return image_base;2191 return image_base;
2192}2192}