diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-16 12:55:34 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-16 12:55:34 +0100 |
| commit | 0e832a9329cc4d4647e1ce529846073f21e66991 (patch) | |
| tree | 8e73a766ab5f8d8c7d6c35227756f50bc61156d9 /bin/sync/arch | |
| parent | 383b4ca16cfd6d99de7335facad9a9f8eaf43341 (diff) | |
Fix several segv issues and improve x86_64 startup code
Diffstat (limited to 'bin/sync/arch')
| -rw-r--r-- | bin/sync/arch/x86_64/sync.s | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/sync/arch/x86_64/sync.s b/bin/sync/arch/x86_64/sync.s index f1fc7ffc..6b099d27 100644 --- a/bin/sync/arch/x86_64/sync.s +++ b/bin/sync/arch/x86_64/sync.s @@ -1,5 +1,9 @@ .globl _start _start: - mov 162, %rax + mov $162, %rax + syscall + + mov $60, %rax + xor %rdi, %rdi syscall |
