clarify the purpose of this project
[nyanglibc.git] / io / utime.shared.s
blobcc892bf9f35a0ac0fd64518807cb9f62c43791de
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 __utime
9 .type __utime, @function
10 __utime:
11 subq $40, %rsp
12 xorl %edx, %edx
13 testq %rsi, %rsi
14 je .L2
15 movq (%rsi), %rax
16 movq $0, 8(%rsp)
17 movq %rsp, %rdx
18 movq $0, 24(%rsp)
19 movq %rax, (%rsp)
20 movq 8(%rsi), %rax
21 movq %rax, 16(%rsp)
22 .L2:
23 movq %rdi, %rsi
24 xorl %ecx, %ecx
25 movl $-100, %edi
26 call __GI___utimensat64_helper
27 addq $40, %rsp
28 ret
29 .size __utime, .-__utime
30 .globl __GI_utime
31 .hidden __GI_utime
32 .set __GI_utime,__utime
33 .globl utime
34 .set utime,__GI_utime