Skip to content

Commit

Permalink
Fixing Setting Linux Syscall Number
Browse files Browse the repository at this point in the history
The syscall number is suppose to be set at x8, not x7.
  • Loading branch information
CuriousTommy committed Dec 24, 2023
1 parent d541362 commit 0d74886
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _linux_syscall:
ret

#elif defined(__arm64__)
mov x7, x6
mov x8, x6
svc #0
ret

Expand Down

0 comments on commit 0d74886

Please sign in to comment.