commit b21de4de5e031fdca56d5e5d5a582ce233240f89 (tree)
parent b3e82b899fdc911a64bd25d3690321e6f5cf17ef
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sun, 21 Jul 2024 22:54:02 +0200
std.os.linux: Define syscalls for armeb and thumbeb too.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig
@@ -103,7 +103,7 @@ pub const SYS = switch (@import("builtin").cpu.arch) {
.x86 => syscalls.X86,
.x86_64 => syscalls.X64,
.aarch64, .aarch64_be => syscalls.Arm64,
- .arm, .thumb => syscalls.Arm,
+ .arm, .armeb, .thumb, .thumbeb => syscalls.Arm,
.riscv64 => syscalls.RiscV64,
.sparc64 => syscalls.Sparc64,
.mips, .mipsel => syscalls.Mips,