clarify the purpose of this project
[nyanglibc.git] / misc / lutimes.s
blob51b35702b23618ea7af5406ed81e3100d7626a78
1 .text
2 .p2align 4,,15
3 .globl __lutimes
4 .type __lutimes, @function
5 __lutimes:
6 subq $40, %rsp
7 xorl %edx, %edx
8 testq %rsi, %rsi
9 je .L2
10 imulq $1000, 8(%rsi), %rax
11 movq (%rsi), %rdx
12 movq %rdx, (%rsp)
13 movq 16(%rsi), %rdx
14 movq %rax, 8(%rsp)
15 movq %rdx, 16(%rsp)
16 movq %rsp, %rdx
17 imulq $1000, 24(%rsi), %rax
18 movq %rax, 24(%rsp)
19 .L2:
20 movq %rdi, %rsi
21 movl $256, %ecx
22 movl $-100, %edi
23 call __utimensat64_helper
24 addq $40, %rsp
25 ret
26 .size __lutimes, .-__lutimes
27 .weak lutimes
28 .set lutimes,__lutimes
29 .hidden __utimensat64_helper