11 #elif defined __x86_64__
30 .type syscall, @function
35 movq %rdi, %rax /* Syscall number -> rax. */
36 movq %rsi, %rdi /* shift arg1 - arg5. */
41 movq 8(%rsp),%r9 /* arg6 is on the stack. */
42 syscall /* Do the system call. */
61 ret /* Return to caller. */
62 .size syscall, .-syscall
63 .section .note.GNU-stack,"",@progbits