summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/epoll_create1.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/epoll_create1.S')
-rw-r--r--libc/arch-arm64/syscalls/epoll_create1.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/arch-arm64/syscalls/epoll_create1.S b/libc/arch-arm64/syscalls/epoll_create1.S
index 0ed34b5..94990bf 100644
--- a/libc/arch-arm64/syscalls/epoll_create1.S
+++ b/libc/arch-arm64/syscalls/epoll_create1.S
@@ -4,14 +4,18 @@
ENTRY(epoll_create1)
stp x29, x30, [sp, #-16]!
+ .cfi_def_cfa_offset 16
+ .cfi_rel_offset x29, 0
+ .cfi_rel_offset x30, 8
mov x29, sp
- str x8, [sp, #-16]!
mov x8, __NR_epoll_create1
svc #0
- ldr x8, [sp], #16
ldp x29, x30, [sp], #16
+ .cfi_def_cfa_offset 0
+ .cfi_restore x29
+ .cfi_restore x30
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi