clarify the purpose of this project
[nyanglibc.git] / nptl / pthread_attr_destroy.shared.s
blob03528c4160df0ec6610065bba3bb4a4a1d1dde80
1 .text
2 #APP
3 memmove = __GI_memmove
4 memset = __GI_memset
5 memcpy = __GI_memcpy
6 #NO_APP
7 .p2align 4,,15
8 .globl __GI___pthread_attr_destroy
9 .hidden __GI___pthread_attr_destroy
10 .type __GI___pthread_attr_destroy, @function
11 __GI___pthread_attr_destroy:
12 movq 40(%rdi), %rax
13 testq %rax, %rax
14 je .L7
15 pushq %rbx
16 movq %rdi, %rbx
17 movq (%rax), %rdi
18 call free@PLT
19 movq 40(%rbx), %rdi
20 call free@PLT
21 xorl %eax, %eax
22 popq %rbx
23 ret
24 .p2align 4,,10
25 .p2align 3
26 .L7:
27 xorl %eax, %eax
28 ret
29 .size __GI___pthread_attr_destroy, .-__GI___pthread_attr_destroy
30 .globl __pthread_attr_destroy
31 .set __pthread_attr_destroy,__GI___pthread_attr_destroy
32 .weak pthread_attr_destroy
33 .set pthread_attr_destroy,__pthread_attr_destroy