mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
start: Reduce stack alignment for hexagon.
The ABI requires 8-byte alignment, not 16.
This commit is contained in:
parent
d3bf6c518f
commit
4b5941c54b
@ -343,7 +343,7 @@ fn _start() callconv(.naked) noreturn {
|
||||
\\ r30 = #0
|
||||
\\ r31 = #0
|
||||
\\ r0 = r29
|
||||
\\ r29 = and(r29, #-16)
|
||||
\\ r29 = and(r29, #-8)
|
||||
\\ memw(r29 + #-8) = r29
|
||||
\\ r29 = add(r29, #-8)
|
||||
\\ call %[posixCallMainAndExit]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user