start: Align the stack on aarch64 just in case.

The kernel does this as required, but we cannot trust dynamic linkers to do it.
This commit is contained in:
Alex Rønne Petersen 2024-07-24 17:34:44 +02:00
parent 9771390f89
commit 714e743393
No known key found for this signature in database

View File

@ -297,6 +297,7 @@ fn _start() callconv(.Naked) noreturn {
\\ mov fp, #0
\\ mov lr, #0
\\ mov x0, sp
\\ and sp, x0, #-16
\\ b %[posixCallMainAndExit]
,
.arm, .armeb, .thumb, .thumbeb =>