coff: tentatively handle Obj in getImageBase() func

This commit is contained in:
Jakub Konka 2022-11-04 18:59:04 +01:00
parent 9618fdc8a2
commit 59fa0499c9

View File

@ -2186,7 +2186,7 @@ pub fn getImageBase(self: Coff) u64 {
else => unreachable, // unsupported target architecture
},
.Lib => 0x10000000,
else => unreachable,
.Obj => 0,
};
return image_base;
}