Commit 557c4f04c2

Alex Rønne Petersen <alex@alexrp.com>
2024-07-24 00:30:57
start: Handle loongarch32 together with loongarch64.
Nothing bitness-specific about this startup code.
1 parent 75cf7fc
Changed files (1)
lib
lib/std/start.zig
@@ -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