clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_condattr_setpshared.s
blob66788ac8b842d4508d4b08c94aa9b6317ab0fcd8
1 .text
2 .p2align 4,,15
3 .globl pthread_condattr_setpshared
4 .type pthread_condattr_setpshared, @function
5 pthread_condattr_setpshared:
6 cmpl $1, %esi
7 ja .L3
8 movl (%rdi), %eax
9 andl $-2, %eax
10 orl %eax, %esi
11 xorl %eax, %eax
12 movl %esi, (%rdi)
13 ret
14 .p2align 4,,10
15 .p2align 3
16 .L3:
17 movl $22, %eax
18 ret
19 .size pthread_condattr_setpshared, .-pthread_condattr_setpshared