]> git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/src/internal/aarch64/syscall.s
Fix predefined macros check after recent clang change
[wasi-libc.git] / libc-top-half / musl / src / internal / aarch64 / syscall.s
1 .global __syscall
2 .hidden __syscall
3 .type __syscall,%function
4 __syscall:
5 uxtw x8,w0
6 mov x0,x1
7 mov x1,x2
8 mov x2,x3
9 mov x3,x4
10 mov x4,x5
11 mov x5,x6
12 mov x6,x7
13 svc 0
14 ret