ClickHouse/base/glibc-compatibility/musl/x86_64/syscall.s
2020-03-03 05:29:51 +03:00

16 lines
226 B
ArmAsm

.global __syscall
.hidden __syscall
.type __syscall,@function
__syscall:
.cfi_startproc
movq %rdi,%rax
movq %rsi,%rdi
movq %rdx,%rsi
movq %rcx,%rdx
movq %r8,%r10
movq %r9,%r8
movq 8(%rsp),%r9
syscall
ret
.cfi_endproc