clarify the purpose of this project
[nyanglibc.git] / signal / sigrelse.s
blobd35387334211104993aed8b7608aca9233e06966
1 .text
2 .p2align 4,,15
3 .globl sigrelse
4 .type sigrelse, @function
5 sigrelse:
6 pushq %rbp
7 pushq %rbx
8 movl %edi, %ebp
9 subq $136, %rsp
10 movq %rsp, %rbx
11 movq %rbx, %rdi
12 call sigemptyset
13 movl %ebp, %esi
14 movq %rbx, %rdi
15 call sigaddset
16 testl %eax, %eax
17 js .L3
18 xorl %edx, %edx
19 movq %rbx, %rsi
20 movl $1, %edi
21 call __sigprocmask
22 .L1:
23 addq $136, %rsp
24 popq %rbx
25 popq %rbp
26 ret
27 .p2align 4,,10
28 .p2align 3
29 .L3:
30 movl $-1, %eax
31 jmp .L1
32 .size sigrelse, .-sigrelse
33 .hidden __sigprocmask
34 .hidden sigaddset
35 .hidden sigemptyset