summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/getegid.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/getegid.S')
-rw-r--r--libc/arch-arm64/syscalls/getegid.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/libc/arch-arm64/syscalls/getegid.S b/libc/arch-arm64/syscalls/getegid.S
index 144fe88..593f51d 100644
--- a/libc/arch-arm64/syscalls/getegid.S
+++ b/libc/arch-arm64/syscalls/getegid.S
@@ -4,14 +4,18 @@
ENTRY(getegid)
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_getegid
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