Some broken software wants to deal with ld.so.cache.
[nyanglibc.git] / nptl / pthread_attr_getscope.shared.s
blobafebe4b2586a2429048742cdb9c12740f1ea9cef
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_getscope
9 .type __pthread_attr_getscope, @function
10 __pthread_attr_getscope:
11 movl 8(%rdi), %eax
12 sarl $2, %eax
13 andl $1, %eax
14 movl %eax, (%rsi)
15 xorl %eax, %eax
16 ret
17 .size __pthread_attr_getscope, .-__pthread_attr_getscope
18 .globl pthread_attr_getscope
19 .set pthread_attr_getscope,__pthread_attr_getscope