clarify the purpose of this project
[nyanglibc.git] / signal / sigfillset.s
blob826a466b2827aae38cf82275c058a6a7865867af
1 .text
2 .p2align 4,,15
3 .globl sigfillset
4 .hidden sigfillset
5 .type sigfillset, @function
6 sigfillset:
7 testq %rdi, %rdi
8 je .L5
9 movabsq $-6442450945, %rax
10 movq %rax, (%rdi)
11 xorl %eax, %eax
12 ret
13 .L5:
14 movq __libc_errno@gottpoff(%rip), %rax
15 movl $22, %fs:(%rax)
16 movl $-1, %eax
17 ret
18 .size sigfillset, .-sigfillset