clarify the purpose of this project
[nyanglibc.git] / nptl / nptlfreeres.s
blobdfc660a375b3c680333556f5998d7a4a5c36914c
1 .text
2 .p2align 4,,15
3 .globl __libpthread_freeres
4 .type __libpthread_freeres, @function
5 __libpthread_freeres:
6 subq $8, %rsp
7 cmpq $0, __default_pthread_attr_freeres@GOTPCREL(%rip)
8 je .L2
9 call __default_pthread_attr_freeres@PLT
10 .L2:
11 cmpq $0, __nptl_stacks_freeres@GOTPCREL(%rip)
12 je .L3
13 call __nptl_stacks_freeres@PLT
14 .L3:
15 cmpq $0, __shm_directory_freeres@GOTPCREL(%rip)
16 je .L4
17 call __shm_directory_freeres@PLT
18 .L4:
19 cmpq $0, __nptl_unwind_freeres@GOTPCREL(%rip)
20 je .L1
21 addq $8, %rsp
22 jmp __nptl_unwind_freeres@PLT
23 .p2align 4,,10
24 .p2align 3
25 .L1:
26 addq $8, %rsp
27 ret
28 .size __libpthread_freeres, .-__libpthread_freeres
29 .weak __nptl_unwind_freeres
30 .weak __shm_directory_freeres
31 .weak __nptl_stacks_freeres
32 .weak __default_pthread_attr_freeres