start: Reduce stack alignment for hexagon.

The ABI requires 8-byte alignment, not 16.
This commit is contained in:
Alex Rønne Petersen 2025-04-07 13:05:43 +02:00
parent d3bf6c518f
commit 4b5941c54b
No known key found for this signature in database

View File

@ -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]