clarify the purpose of this project
[nyanglibc.git] / io / fstatat64.shared.s
blob0bf78b62f399d7a0f5838ade4b090253574e3ae0
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 __GI___fstatat64
9 .hidden __GI___fstatat64
10 .type __GI___fstatat64, @function
11 __GI___fstatat64:
12 movl %ecx, %r10d
13 movl $262, %eax
14 #APP
15 # 57 "../sysdeps/unix/sysv/linux/fstatat64.c" 1
16 syscall
18 # 0 "" 2
19 #NO_APP
20 cmpl $-4096, %eax
21 ja .L5
22 xorl %eax, %eax
23 ret
24 .p2align 4,,10
25 .p2align 3
26 .L5:
27 movq __libc_errno@gottpoff(%rip), %rdx
28 negl %eax
29 movl %eax, %fs:(%rdx)
30 movl $-1, %eax
31 ret
32 .size __GI___fstatat64, .-__GI___fstatat64
33 .globl __fstatat64
34 .set __fstatat64,__GI___fstatat64
35 .globl __GI___fstatat
36 .set __GI___fstatat,__fstatat64
37 .weak fstatat
38 .set fstatat,__fstatat64
39 .globl __fstatat
40 .set __fstatat,__fstatat64
41 .weak fstatat64
42 .set fstatat64,__fstatat64