diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-11-11 19:27:30 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-11-11 19:27:30 +0100 |
commit | 010414d73227c14b8b277f28c577fa3c648f474e (patch) | |
tree | ffa877908e40373b2c474ac9d1ee806f8b8ccf73 | |
parent | c6ab2d3412cfbd3f8b6718b51165fab9432f2573 (diff) | |
download | notes-010414d73227c14b8b277f28c577fa3c648f474e.tar.gz notes-010414d73227c14b8b277f28c577fa3c648f474e.zip |
amd64 fix exit syscall nr
-rw-r--r-- | src/arch/x86_64.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64.md b/src/arch/x86_64.md index 63bea81..7fd5113 100644 --- a/src/arch/x86_64.md +++ b/src/arch/x86_64.md @@ -182,7 +182,7 @@ _start: syscall mov rdi, 0 # exit code - mov rax, 1 # exit(2) syscall nr + mov rax, 60 # exit(2) syscall nr syscall .section .rdonly, "a", @progbits |