mirror of
https://github.com/ziglang/zig.git
synced 2025-12-31 02:23:22 +00:00
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:
parent
0ce56f9305
commit
0d09c6aed8
@ -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}),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user