clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_setscope.shared.s
blob5a09cb54223031eaf9d909155757d056f6adb58c
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 __pthread_attr_setscope
9 .type __pthread_attr_setscope, @function
10 __pthread_attr_setscope:
11 testl %esi, %esi
12 je .L3
13 cmpl $1, %esi
14 movl $22, %edx
15 movl $95, %eax
16 cmovne %edx, %eax
17 ret
18 .p2align 4,,10
19 .p2align 3
20 .L3:
21 andl $-5, 8(%rdi)
22 xorl %eax, %eax
23 ret
24 .size __pthread_attr_setscope, .-__pthread_attr_setscope
25 .globl pthread_attr_setscope
26 .set pthread_attr_setscope,__pthread_attr_setscope