summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/syscalls/___fchmod.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm/syscalls/___fchmod.S')
-rw-r--r--libc/arch-arm/syscalls/___fchmod.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/___fchmod.S b/libc/arch-arm/syscalls/___fchmod.S
new file mode 100644
index 0000000..c6da4f8
--- /dev/null
+++ b/libc/arch-arm/syscalls/___fchmod.S
@@ -0,0 +1,15 @@
+/* Generated by gensyscalls.py. Do not edit. */
+
+#include <private/bionic_asm.h>
+
+ENTRY(___fchmod)
+ mov ip, r7
+ ldr r7, =__NR_fchmod
+ swi #0
+ mov r7, ip
+ cmn r0, #(MAX_ERRNO + 1)
+ bxls lr
+ neg r0, r0
+ b __set_errno_internal
+END(___fchmod)
+.hidden ___fchmod