clarify the purpose of this project
[nyanglibc.git] / signal / sigismem.shared.s
blob7957b405b9b5d403b14606e393109fa22b4523ef
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_sigismember
9 .hidden __GI_sigismember
10 .type __GI_sigismember, @function
11 __GI_sigismember:
12 leal -1(%rsi), %ecx
13 cmpl $63, %ecx
14 ja .L5
15 testq %rdi, %rdi
16 je .L5
17 movl $1, %eax
18 salq %cl, %rax
19 testq %rax, (%rdi)
20 setne %al
21 movzbl %al, %eax
22 ret
23 .p2align 4,,10
24 .p2align 3
25 .L5:
26 movq __libc_errno@gottpoff(%rip), %rax
27 movl $22, %fs:(%rax)
28 movl $-1, %eax
29 ret
30 .size __GI_sigismember, .-__GI_sigismember
31 .globl sigismember
32 .set sigismember,__GI_sigismember