clarify the purpose of this project
[nyanglibc.git] / nptl / cleanup.s
blob46c63e2b0a63ea23bd9043a73563cdeba90c52c7
1 .text
2 .p2align 4,,15
3 .globl __pthread_register_cancel
4 .type __pthread_register_cancel, @function
5 __pthread_register_cancel:
6 #APP
7 # 31 "cleanup.c" 1
8 movq %fs:768,%rax
9 # 0 "" 2
10 #NO_APP
11 movq %rax, 72(%rdi)
12 #APP
13 # 32 "cleanup.c" 1
14 movq %fs:760,%rax
15 # 0 "" 2
16 #NO_APP
17 movq %rax, 80(%rdi)
18 #APP
19 # 35 "cleanup.c" 1
20 movq %rdi,%fs:768
21 # 0 "" 2
22 #NO_APP
23 ret
24 .size __pthread_register_cancel, .-__pthread_register_cancel
25 .p2align 4,,15
26 .globl __pthread_unregister_cancel
27 .type __pthread_unregister_cancel, @function
28 __pthread_unregister_cancel:
29 movq 72(%rdi), %rax
30 #APP
31 # 46 "cleanup.c" 1
32 movq %rax,%fs:768
33 # 0 "" 2
34 #NO_APP
35 ret
36 .size __pthread_unregister_cancel, .-__pthread_unregister_cancel