link.Coff: Set default image base correctly for thumb.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user