loongarch: various architecture specific fixes (#20912)

This commit is contained in:
YANG Xudong
2024-08-08 04:06:29 +08:00
committed by GitHub
parent 4d6429fc4f
commit b8705ed652
4 changed files with 12 additions and 1 deletions

View File

@@ -132,6 +132,7 @@ pub const SYS = switch (@import("builtin").cpu.arch) {
.riscv64 => syscalls.RiscV64,
.sparc => syscalls.Sparc,
.sparc64 => syscalls.Sparc64,
.loongarch64 => syscalls.LoongArch64,
.m68k => syscalls.M68k,
.mips, .mipsel => syscalls.MipsO32,
.mips64, .mips64el => if (builtin.abi == .gnuabin32)