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
65 .section ".note.gnu.property", "a"
71 .long 1f - 0f /* name length */
72 .long 5f - 2f /* data length */
73 .long 5 /* note type */
74 0: .asciz "GNU" /* vendor name */
81 2: .long 0xc0000002 /* pr_type. */
82 .long 4f - 3f /* pr_datasz. */