clarify the purpose of this project
[nyanglibc.git] / signal / sigblock.shared.s
blob87bc2aeb6b7208fe25785789a7cf8cc556006467
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 __GI___sigblock
9 .hidden __GI___sigblock
10 .type __GI___sigblock, @function
11 __GI___sigblock:
12 subq $264, %rsp
13 movl %edi, %eax
14 movq %rsp, %rsi
15 movq %rax, (%rsp)
16 leaq 128(%rsi), %rdx
17 leaq 8(%rsi), %rax
18 .p2align 4,,10
19 .p2align 3
20 .L2:
21 addq $8, %rax
22 movq $0, -8(%rax)
23 cmpq %rdx, %rax
24 jne .L2
25 leaq 128(%rsp), %rdx
26 xorl %edi, %edi
27 call __GI___sigprocmask
28 testl %eax, %eax
29 js .L4
30 movl 128(%rsp), %eax
31 .L1:
32 addq $264, %rsp
33 ret
34 .L4:
35 movl $-1, %eax
36 jmp .L1
37 .size __GI___sigblock, .-__GI___sigblock
38 .globl __sigblock
39 .set __sigblock,__GI___sigblock
40 .weak sigblock
41 .set sigblock,__sigblock