clarify the purpose of this project
[nyanglibc.git] / time / lc-time-cleanup.s
blob349c30d801f5be5c5360ec09f465c3194a94ba0b
1 .text
2 .p2align 4,,15
3 .globl _nl_cleanup_time
4 .hidden _nl_cleanup_time
5 .type _nl_cleanup_time, @function
6 _nl_cleanup_time:
7 pushq %rbx
8 movq 40(%rdi), %rbx
9 testq %rbx, %rbx
10 je .L1
11 movq $0, 40(%rdi)
12 movq $0, 32(%rdi)
13 movq (%rbx), %rdi
14 call free@PLT
15 movq 24(%rbx), %rdi
16 call free@PLT
17 movq 32(%rbx), %rdi
18 call free@PLT
19 movq %rbx, %rdi
20 popq %rbx
21 jmp free@PLT
22 .p2align 4,,10
23 .p2align 3
24 .L1:
25 popq %rbx
26 ret
27 .size _nl_cleanup_time, .-_nl_cleanup_time