From 557c4f04c2f13384c8f185af7a2befad00dd8a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Wed, 24 Jul 2024 00:30:57 +0200 Subject: [PATCH] start: Handle loongarch32 together with loongarch64. Nothing bitness-specific about this startup code. --- lib/std/start.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/start.zig b/lib/std/start.zig index 5bcd2f0eb6..9d4edd16bf 100644 --- a/lib/std/start.zig +++ b/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