restore use of .type in asm, but use modern @function (vs %function)
[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