start: Handle loongarch32 together with loongarch64.

Nothing bitness-specific about this startup code.
This commit is contained in:
Alex Rønne Petersen 2024-07-24 00:30:57 +02:00 committed by Andrew Kelley
parent 75cf7fca90
commit 557c4f04c2

View File

@ -300,7 +300,7 @@ fn _start() callconv(.Naked) noreturn {
\\ and sp, #-16
\\ b %[posixCallMainAndExit]
,
.loongarch64 =>
.loongarch32, .loongarch64 =>
\\ move $fp, $zero
\\ move $a0, $sp
\\ bstrins.d $sp, $zero, 3, 0