clarify the purpose of this project
[nyanglibc.git] / signal / sigfillset.shared.s
blob8bc7775a637b781a940cdce26787e6e7e10400cf
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_sigfillset
9 .hidden __GI_sigfillset
10 .type __GI_sigfillset, @function
11 __GI_sigfillset:
12 testq %rdi, %rdi
13 je .L5
14 movabsq $-6442450945, %rax
15 movq %rax, (%rdi)
16 xorl %eax, %eax
17 ret
18 .L5:
19 movq __libc_errno@gottpoff(%rip), %rax
20 movl $22, %fs:(%rax)
21 movl $-1, %eax
22 ret
23 .size __GI_sigfillset, .-__GI_sigfillset
24 .globl sigfillset
25 .set sigfillset,__GI_sigfillset