From e725d1e226071d1a2697a5635df01a8eadd64a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 12 Aug 2024 12:34:40 +0200 Subject: [PATCH] std.Thread: Fix freeAndExit() syscall numbers for mips64. These just seem to have been copy/pasted from mips32. --- lib/std/Thread.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index c4db7d6d9a74..b84f0274bc10 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -1149,11 +1149,11 @@ const LinuxThreadImpl = struct { : "memory" ), .mips64, .mips64el => asm volatile ( - \\ li $2, 4091 # SYS_munmap + \\ li $2, 5011 # SYS_munmap \\ move $4, %[ptr] \\ move $5, %[len] \\ syscall - \\ li $2, 4001 # SYS_exit + \\ li $2, 5058 # SYS_exit \\ li $4, 0 \\ syscall :