1 #include <linux/unistd.h>
6 .type _linux_start, @function
11 popq %rdi // argc -> C arg1
12 movq %rsp, %rsi // argv -> C arg2
14 andq $~15, %rsp // 16-byte align the stack
18 /* Our main doesn't use any arguments */
21 movq %rax, %rdi // rc -> syscall arg1
25 .size _linux_start, . - _linux_start