clarify the purpose of this project
[nyanglibc.git] / signal / sighold.shared.s
bloba0d159a0735cd90232a15c09bc3a8c4276ead3c1
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl sighold
9 .type sighold, @function
10 sighold:
11 pushq %rbp
12 pushq %rbx
13 movl %edi, %ebp
14 subq $136, %rsp
15 movq %rsp, %rbx
16 movq %rbx, %rdi
17 call __GI_sigemptyset
18 movl %ebp, %esi
19 movq %rbx, %rdi
20 call __GI_sigaddset
21 testl %eax, %eax
22 js .L3
23 xorl %edx, %edx
24 movq %rbx, %rsi
25 xorl %edi, %edi
26 call __GI___sigprocmask
27 .L1:
28 addq $136, %rsp
29 popq %rbx
30 popq %rbp
31 ret
32 .p2align 4,,10
33 .p2align 3
34 .L3:
35 movl $-1, %eax
36 jmp .L1
37 .size sighold, .-sighold