commit 557c4f04c2f13384c8f185af7a2befad00dd8a5c (tree)
parent 75cf7fca900766713597d21d141292b3725aac50
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Wed, 24 Jul 2024 00:30:57 +0200
start: Handle loongarch32 together with loongarch64.
Nothing bitness-specific about this startup code.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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