sigaltstack.S revision e35fd48a832cddbedcf84773fd1922f735ae7829
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5    .hidden __set_errno
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
151:
16    ret
17END(sigaltstack)
18