mirror of
https://github.com/ziglang/zig.git
synced 2026-01-07 14:03:26 +00:00
std.Thread: Fix freeAndExit() syscall numbers for mips64.
These just seem to have been copy/pasted from mips32.
This commit is contained in:
parent
d0ae803a77
commit
e725d1e226
@ -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
|
||||
:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user