clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_rwlockattr_setpshared.s
blob5eb38107665e2c6f4b8e72ac1eae70f8d1910fbf
1 .text
2 .p2align 4,,15
3 .globl pthread_rwlockattr_setpshared
4 .type pthread_rwlockattr_setpshared, @function
5 pthread_rwlockattr_setpshared:
6 cmpl $1, %esi
7 ja .L3
8 movl %esi, 4(%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_rwlockattr_setpshared, .-pthread_rwlockattr_setpshared