mirror of
https://github.com/ziglang/zig.git
synced 2025-12-26 08:03:08 +00:00
link.Coff: Set default image base correctly for thumb.
This commit is contained in:
parent
6d15dc1ab8
commit
338730d2fa
@ -276,7 +276,7 @@ pub fn createEmpty(
|
||||
.image_base = options.image_base orelse switch (output_mode) {
|
||||
.Exe => switch (target.cpu.arch) {
|
||||
.aarch64 => 0x140000000,
|
||||
.x86_64, .x86 => 0x400000,
|
||||
.thumb, .x86_64, .x86 => 0x400000,
|
||||
else => unreachable,
|
||||
},
|
||||
.Lib => 0x10000000,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user