summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/fstatat64.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/syscalls/fstatat64.S')
-rw-r--r--libc/arch-arm64/syscalls/fstatat64.S17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/fstatat64.S b/libc/arch-arm64/syscalls/fstatat64.S
new file mode 100644
index 0000000..dafd982
--- /dev/null
+++ b/libc/arch-arm64/syscalls/fstatat64.S
@@ -0,0 +1,17 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(fstatat64)
+ mov x8, __NR_newfstatat
+ svc #0
+
+ cmn x0, #(MAX_ERRNO + 1)
+ cneg x0, x0, hi
+ b.hi __set_errno_internal
+
+ ret
+END(fstatat64)
+
+ .globl fstatat
+ .equ fstatat, fstatat64