- {target: ppc64, toolchain: gcc-powerpc64-linux-gnu, cc: powerpc64-linux-gnu-gcc, qemu: qemu-ppc64-static }
- {target: ppc64le, toolchain: gcc-powerpc64le-linux-gnu, cc: powerpc64le-linux-gnu-gcc, qemu: qemu-ppc64le-static }
- {target: s390x, toolchain: gcc-s390x-linux-gnu, cc: s390x-linux-gnu-gcc, qemu: qemu-s390x-static }
+ - {target: loongarch, toolchain: gcc-loongarch-linux-gnu, cc: loongarch-linux-gnu-gcc, qemu: qemu-loongarch-static }
- {target: mips, toolchain: gcc-mips-linux-gnu, cc: mips-linux-gnu-gcc, qemu: qemu-mips-static }
- {target: mips64, toolchain: gcc-mips64-linux-gnuabi64, cc: mips64-linux-gnuabi64-gcc, qemu: qemu-mips64-static }
- {target: mipsel, toolchain: gcc-mipsel-linux-gnu, cc: mipsel-linux-gnu-gcc, qemu: qemu-mipsel-static }
# define __NR_copy_file_range 285
# elif defined(__riscv)
# define __NR_copy_file_range 285
+# elif defined(__loongarch__)
+# define __NR_copy_file_range 285
# endif
#endif /* __NR_copy_file_range */
# define __NR_statx 379
# elif defined(__riscv)
# define __NR_statx 291
+# elif defined(__loongarch__)
+# define __NR_statx 291
# endif
#endif /* __NR_statx */
# define __NR_getrandom 349
# elif defined(__riscv)
# define __NR_getrandom 278
+# elif defined(__loongarch__)
+# define __NR_getrandom 278
# endif
#endif /* __NR_getrandom */