ClickHouse/libs/libglibc-compatibility/musl/x86_64/syscall.s
Amos Bird b0d4baccc8 Enable musl and jemalloc for arm.
Can generate better arm packages.
2019-10-14 00:06:54 +08:00

14 lines
198 B
ArmAsm

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