Some broken software wants to deal with ld.so.cache.
[nyanglibc.git] / nptl / cleanup.shared.s
blob87e2da233ca1008157ee53e9fef920d576e6b894
1 .text
2 .p2align 4,,15
3 .globl __GI___pthread_register_cancel
4 .hidden __GI___pthread_register_cancel
5 .type __GI___pthread_register_cancel, @function
6 __GI___pthread_register_cancel:
7 #APP
8 # 31 "cleanup.c" 1
9 movq %fs:768,%rax
10 # 0 "" 2
11 #NO_APP
12 movq %rax, 72(%rdi)
13 #APP
14 # 32 "cleanup.c" 1
15 movq %fs:760,%rax
16 # 0 "" 2
17 #NO_APP
18 movq %rax, 80(%rdi)
19 #APP
20 # 35 "cleanup.c" 1
21 movq %rdi,%fs:768
22 # 0 "" 2
23 #NO_APP
24 ret
25 .size __GI___pthread_register_cancel, .-__GI___pthread_register_cancel
26 .globl __pthread_register_cancel
27 .set __pthread_register_cancel,__GI___pthread_register_cancel
28 .p2align 4,,15
29 .globl __GI___pthread_unregister_cancel
30 .hidden __GI___pthread_unregister_cancel
31 .type __GI___pthread_unregister_cancel, @function
32 __GI___pthread_unregister_cancel:
33 movq 72(%rdi), %rax
34 #APP
35 # 46 "cleanup.c" 1
36 movq %rax,%fs:768
37 # 0 "" 2
38 #NO_APP
39 ret
40 .size __GI___pthread_unregister_cancel, .-__GI___pthread_unregister_cancel
41 .globl __pthread_unregister_cancel
42 .set __pthread_unregister_cancel,__GI___pthread_unregister_cancel