clarify the purpose of this project
[nyanglibc.git] / time / ctime_r.shared.s
blobc4250c16ded93c9308c7ba5cbb028271773baf7b
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 ctime_r
9 .type ctime_r, @function
10 ctime_r:
11 pushq %rbx
12 movq %rsi, %rbx
13 subq $64, %rsp
14 movq %rsp, %rsi
15 call __localtime_r
16 movq %rbx, %rsi
17 movq %rax, %rdi
18 call __asctime_r
19 addq $64, %rsp
20 popq %rbx
21 ret
22 .size ctime_r, .-ctime_r
23 .hidden __asctime_r
24 .hidden __localtime_r