authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-07-24 00:30:57+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-07-24 10:25:51-07:00
log557c4f04c2f13384c8f185af7a2befad00dd8a5c
tree7c95a69e98ecd4a5bc1af26576d12afc84ac01aa
parent75cf7fca900766713597d21d141292b3725aac50

start: Handle loongarch32 together with loongarch64.

Nothing bitness-specific about this startup code.

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/start.zig+1-1
......@@ -300,7 +300,7 @@ fn _start() callconv(.Naked) noreturn {
300300 \\ and sp, #-16
301301 \\ b %[posixCallMainAndExit]
302302 ,
303 .loongarch64 =>
303 .loongarch32, .loongarch64 =>
304304 \\ move $fp, $zero
305305 \\ move $a0, $sp
306306 \\ bstrins.d $sp, $zero, 3, 0