From df22a121b2c75021585e4eea49fd3af92d579dd0 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Wed, 21 May 2014 16:00:13 -0700 Subject: Add cfi directives for arm64 assembler. Fix syscall generator to add cfi directives and add the directives for all arm64 assembler. Bug: 15138290 Change-Id: I7f0e4a16c141ac624e5276917a3a1ed45778e057 --- libc/arch-arm64/syscalls/inotify_rm_watch.S | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libc/arch-arm64/syscalls/inotify_rm_watch.S') diff --git a/libc/arch-arm64/syscalls/inotify_rm_watch.S b/libc/arch-arm64/syscalls/inotify_rm_watch.S index 3121b51..ee9c70f 100644 --- a/libc/arch-arm64/syscalls/inotify_rm_watch.S +++ b/libc/arch-arm64/syscalls/inotify_rm_watch.S @@ -4,14 +4,18 @@ ENTRY(inotify_rm_watch) 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_inotify_rm_watch 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 -- cgit v1.1