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