sigaltstack.S revision 103ccde8fe2f2c8abde914a8ba736b2e9cb8d20b
1/* Generated by gensyscalls.py. Do not edit. */ 2 3#include <asm/unistd.h> 4#include <linux/err.h> 5#include <machine/asm.h> 6 7ENTRY(sigaltstack) 8 movl $__NR_sigaltstack, %eax 9 syscall 10 cmpq $-MAX_ERRNO, %rax 11 jb 1f 12 negl %eax 13 movl %eax, %edi 14 call __set_errno 15 orq $-1, %rax 161: 17 ret 18END(sigaltstack) 19