clarify the purpose of this project
[nyanglibc.git] / time / ctime_r.s
blob3a1cdb0d60668805b519a8d4f50103bfcefdbf76
1 .text
2 .p2align 4,,15
3 .globl ctime_r
4 .type ctime_r, @function
5 ctime_r:
6 pushq %rbx
7 movq %rsi, %rbx
8 subq $64, %rsp
9 movq %rsp, %rsi
10 call __localtime_r
11 movq %rbx, %rsi
12 movq %rax, %rdi
13 call __asctime_r
14 addq $64, %rsp
15 popq %rbx
16 ret
17 .size ctime_r, .-ctime_r
18 .hidden __asctime_r
19 .hidden __localtime_r