mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
start: Reduce stack alignment for hexagon.
The ABI requires 8-byte alignment, not 16.
This commit is contained in:
parent
d3bf6c518f
commit
4b5941c54b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue