| ... | @@ -300,6 +300,12 @@ fn _start() callconv(.Naked) noreturn { | ... | @@ -300,6 +300,12 @@ fn _start() callconv(.Naked) noreturn { |
| 300 | \\ and sp, #-16 | 300 | \\ and sp, #-16 |
| 301 | \\ b %[posixCallMainAndExit] | 301 | \\ b %[posixCallMainAndExit] |
| 302 | , | 302 | , |
| | 303 | .loongarch64 => |
| | 304 | \\ move $fp, $zero |
| | 305 | \\ move $a0, $sp |
| | 306 | \\ bstrins.d $sp, $zero, 3, 0 |
| | 307 | \\ b %[posixCallMainAndExit] |
| | 308 | , |
| 303 | .riscv64 => | 309 | .riscv64 => |
| 304 | \\ li s0, 0 | 310 | \\ li s0, 0 |
| 305 | \\ li ra, 0 | 311 | \\ li ra, 0 |