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