Some broken software wants to deal with ld.so.cache.
[nyanglibc.git] / rt / mq_setattr.shared.s
blob9b44cb361a4278f19dc4ef95dffc2e1b6139be39
1 .text
2 .globl mq_setattr
3 .type mq_setattr,@function
4 .align 1<<4
5 mq_setattr:
6 movl $245, %eax
7 syscall
8 cmpq $-4095, %rax
9 jae 0f
10 ret
12 movq errno@GOTTPOFF(%rip), %rcx
13 neg %eax
14 movl %eax, %fs:(%rcx)
15 or $-1, %rax
16 ret
17 .size mq_setattr,.-mq_setattr
18 .globl __GI_mq_setattr
19 .set __GI_mq_setattr,mq_setattr