From 602b4e482ce7bfa768a4c84baffc3051eca52346 Mon Sep 17 00:00:00 2001 From: Serban Constantinescu Date: Sat, 7 Jun 2014 18:15:49 +0100 Subject: AArch64: Remove Frame Record from ARM64 syscalls This patch removes the frame record created on svc calls. Change-Id: I67cf926ba59540e824fb9749d30538e332df7c1e Signed-off-by: Serban Constantinescu --- libc/arch-arm64/syscalls/getsid.S | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'libc/arch-arm64/syscalls/getsid.S') diff --git a/libc/arch-arm64/syscalls/getsid.S b/libc/arch-arm64/syscalls/getsid.S index e75b7b4..f99623f 100644 --- a/libc/arch-arm64/syscalls/getsid.S +++ b/libc/arch-arm64/syscalls/getsid.S @@ -3,20 +3,9 @@ #include ENTRY(getsid) - stp x29, x30, [sp, #-16]! - .cfi_def_cfa_offset 16 - .cfi_rel_offset x29, 0 - .cfi_rel_offset x30, 8 - mov x29, sp - mov x8, __NR_getsid svc #0 - 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 b.hi __set_errno -- cgit v1.1