1 /* Generated by gensyscalls.py. Do not edit. */
3 #include <private/bionic_asm.h>
5 ENTRY(fstatat64)
6 movq %rcx, %r10
7 movl $__NR_newfstatat, %eax
8 syscall
9 cmpq $-MAX_ERRNO, %rax
10 jb 1f
11 negl %eax
12 movl %eax, %edi
13 call __set_errno
14 orq $-1, %rax
15 1:
16 ret
17 END(fstatat64)
19 .globl fstatat
20 .equ fstatat, fstatat64