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 <serban.constantinescu@arm.com>
This commit is contained in:
committed by
Elliott Hughes
parent
e18c271423
commit
602b4e482c
@@ -95,20 +95,9 @@ END(%(func)s)
|
||||
#
|
||||
|
||||
arm64_call = syscall_stub_header + """\
|
||||
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_name)s
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user