clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_getinheritsched.shared.s
blob561e29b7b030b47ecc49d31f383edbe9f0a93fe3
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_getinheritsched
9 .type __pthread_attr_getinheritsched, @function
10 __pthread_attr_getinheritsched:
11 movl 8(%rdi), %eax
12 sarl %eax
13 andl $1, %eax
14 movl %eax, (%rsi)
15 xorl %eax, %eax
16 ret
17 .size __pthread_attr_getinheritsched, .-__pthread_attr_getinheritsched
18 .globl pthread_attr_getinheritsched
19 .set pthread_attr_getinheritsched,__pthread_attr_getinheritsched