android_bionic/libc/arch-x86_64/syscalls/__rt_sigaction.S

20 lines
364 B
ArmAsm

/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(__rt_sigaction)
movq %rcx, %r10
movl $__NR_rt_sigaction, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(__rt_sigaction)
.hidden __rt_sigaction