df22a121b2
Fix syscall generator to add cfi directives and add the directives for all arm64 assembler. Bug: 15138290 Change-Id: I7f0e4a16c141ac624e5276917a3a1ed45778e057
26 lines
488 B
ArmAsm
26 lines
488 B
ArmAsm
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
#include <private/bionic_asm.h>
|
|
|
|
ENTRY(getgroups)
|
|
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_getgroups
|
|
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
|
|
|
|
ret
|
|
END(getgroups)
|