clarify the purpose of this project
[nyanglibc.git] / io / rtld-fstatat64.shared.s
blob9077cc7830d79ee2deb1a52aafa8670a0692c7ce
1 .text
2 .p2align 4,,15
3 .globl __GI___fstatat64
4 .hidden __GI___fstatat64
5 .type __GI___fstatat64, @function
6 __GI___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 negl %eax
23 movl %eax, rtld_errno(%rip)
24 movl $-1, %eax
25 ret
26 .size __GI___fstatat64, .-__GI___fstatat64
27 .globl __fstatat64
28 .set __fstatat64,__GI___fstatat64
29 .globl __GI___fstatat
30 .set __GI___fstatat,__fstatat64
31 .weak fstatat
32 .set fstatat,__fstatat64
33 .globl __fstatat
34 .set __fstatat,__fstatat64
35 .weak fstatat64
36 .set fstatat64,__fstatat64
37 .hidden rtld_errno