clarify the purpose of this project
[nyanglibc.git] / time / lc-time-cleanup.shared.s
blob790fcc51b956600213cd94b071a044560a2d9100
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 _nl_cleanup_time
9 .hidden _nl_cleanup_time
10 .type _nl_cleanup_time, @function
11 _nl_cleanup_time:
12 pushq %rbx
13 movq 40(%rdi), %rbx
14 testq %rbx, %rbx
15 je .L1
16 movq $0, 40(%rdi)
17 movq $0, 32(%rdi)
18 movq (%rbx), %rdi
19 call free@PLT
20 movq 24(%rbx), %rdi
21 call free@PLT
22 movq 32(%rbx), %rdi
23 call free@PLT
24 movq %rbx, %rdi
25 popq %rbx
26 jmp free@PLT
27 .p2align 4,,10
28 .p2align 3
29 .L1:
30 popq %rbx
31 ret
32 .size _nl_cleanup_time, .-_nl_cleanup_time