clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_getdetachstate.shared.s
blob58d371cd3314b328d3916bc139df19e9f03a755e
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __pthread_attr_getdetachstate
9 .type __pthread_attr_getdetachstate, @function
10 __pthread_attr_getdetachstate:
11 movl 8(%rdi), %eax
12 andl $1, %eax
13 movl %eax, (%rsi)
14 xorl %eax, %eax
15 ret
16 .size __pthread_attr_getdetachstate, .-__pthread_attr_getdetachstate
17 .globl pthread_attr_getdetachstate
18 .set pthread_attr_getdetachstate,__pthread_attr_getdetachstate