mirror of
https://github.com/ziglang/zig.git
synced 2025-02-12 23:50:18 +00:00
start: Handle loongarch32 together with loongarch64.
Nothing bitness-specific about this startup code.
This commit is contained in:
parent
75cf7fca90
commit
557c4f04c2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user