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