| ... | ... | @@ -1004,7 +1004,7 @@ fn resolveRelocs(self: *Coff, atom: *Atom) !void { |
| 1004 | 1004 | } |
| 1005 | 1005 | }, |
| 1006 | 1006 | |
| 1007 | | .x86_64, .i386 => { |
| 1007 | .x86_64, .x86 => { |
| 1008 | 1008 | switch (reloc.@"type") { |
| 1009 | 1009 | .got_page => unreachable, |
| 1010 | 1010 | .got_pageoff => unreachable, |
| ... | ... | @@ -2182,7 +2182,7 @@ pub fn getImageBase(self: Coff) u64 { |
| 2182 | 2182 | const image_base: u64 = self.base.options.image_base_override orelse switch (self.base.options.output_mode) { |
| 2183 | 2183 | .Exe => switch (self.base.options.target.cpu.arch) { |
| 2184 | 2184 | .aarch64 => @as(u64, 0x140000000), |
| 2185 | | .x86_64, .i386 => 0x400000, |
| 2185 | .x86_64, .x86 => 0x400000, |
| 2186 | 2186 | else => unreachable, // unsupported target architecture |
| 2187 | 2187 | }, |
| 2188 | 2188 | .Lib => 0x10000000, |