Some broken software wants to deal with ld.so.cache.
[nyanglibc.git] / nptl / pthread_testcancel.s
blobb291b4d33f502aef45e58d00391c55811b071bf2
1 .text
2 .p2align 4,,15
3 .globl __pthread_testcancel
4 .type __pthread_testcancel, @function
5 __pthread_testcancel:
6 #APP
7 # 26 "pthread_testcancel.c" 1
8 movl %fs:776,%eax
9 # 0 "" 2
10 #NO_APP
11 andl $-71, %eax
12 cmpl $8, %eax
13 je .L7
14 rep ret
15 .L7:
16 subq $8, %rsp
17 #APP
18 # 26 "pthread_testcancel.c" 1
19 movq $-1,%fs:1584
20 # 0 "" 2
21 #NO_APP
22 movq %fs:16, %rax
23 #APP
24 # 304 "pthreadP.h" 1
25 lock;orl $16, 776(%rax)
26 # 0 "" 2
27 # 307 "pthreadP.h" 1
28 movq %fs:768,%rdi
29 # 0 "" 2
30 #NO_APP
31 call __pthread_unwind@PLT
32 .size __pthread_testcancel, .-__pthread_testcancel
33 .globl pthread_testcancel
34 .set pthread_testcancel,__pthread_testcancel