clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_mutexattr_getrobust.s
blob865ee550c0af4ee408771fb7bdc2be95b7f84ac3
1 .text
2 .p2align 4,,15
3 .globl pthread_mutexattr_getrobust
4 .type pthread_mutexattr_getrobust, @function
5 pthread_mutexattr_getrobust:
6 movl (%rdi), %eax
7 sarl $30, %eax
8 andl $1, %eax
9 movl %eax, (%rsi)
10 xorl %eax, %eax
11 ret
12 .size pthread_mutexattr_getrobust, .-pthread_mutexattr_getrobust
13 .weak pthread_mutexattr_getrobust_np
14 .set pthread_mutexattr_getrobust_np,pthread_mutexattr_getrobust