stage2 ARM: fix stack alignment

Acording to the AAPCS32, the stack alignment at public interfaces
should be 8, not 4.
This commit is contained in:
joachimschmidt557 2021-07-31 12:52:35 +02:00 committed by Andrew Kelley
parent 0ce56f9305
commit 0d09c6aed8

View File

@ -4916,7 +4916,7 @@ fn Function(comptime arch: std.Target.Cpu.Arch) type {
}
result.stack_byte_count = nsaa;
result.stack_align = 4;
result.stack_align = 8;
},
else => return self.fail("TODO implement function parameters for {} on arm", .{cc}),
}