6e0db09c307e176c7386cc35546527690ac87efa
[musl] / src / internal / x86_64 / syscall.s
1 .global __syscall
2 .type __syscall,@function
3 __syscall:
4         movq %rdi,%rax
5         movq %rsi,%rdi
6         movq %rdx,%rsi
7         movq %rcx,%rdx
8         movq %r8,%r10
9         movq %r9,%r8
10         movq 8(%rsp),%r9
11         syscall
12         ret