Some broken software wants to deal with ld.so.cache.
[nyanglibc.git] / nptl / pthread_attr_getinheritsched.s
blobfb17cde6034a6cfd2316d289f483309cc4b99902
1 .text
2 .p2align 4,,15
3 .globl __pthread_attr_getinheritsched
4 .type __pthread_attr_getinheritsched, @function
5 __pthread_attr_getinheritsched:
6 movl 8(%rdi), %eax
7 sarl %eax
8 andl $1, %eax
9 movl %eax, (%rsi)
10 xorl %eax, %eax
11 ret
12 .size __pthread_attr_getinheritsched, .-__pthread_attr_getinheritsched
13 .globl pthread_attr_getinheritsched
14 .set pthread_attr_getinheritsched,__pthread_attr_getinheritsched