mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
We need to set rbp last because the arguments are stored on the stack. If we clobber rbp first, then we will get a segfault when trying to access the function arguments. I believe I had already done this with the other syscall* functions, but not with syscall1, so this allows single argument syscalls like close to work. |
History
|
|
|---|---|---|
| .. | ||
| x86_64.zig | ||