diff options
Diffstat (limited to 'libc/arch-arm/syscalls/sendfile64.S')
-rw-r--r-- | libc/arch-arm/syscalls/sendfile64.S | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/sendfile64.S b/libc/arch-arm/syscalls/sendfile64.S new file mode 100644 index 0000000..87de344 --- /dev/null +++ b/libc/arch-arm/syscalls/sendfile64.S @@ -0,0 +1,15 @@ +/* autogenerated by gensyscalls.py */ +#include <asm/unistd.h> +#include <linux/err.h> +#include <machine/asm.h> + +ENTRY(sendfile64) + mov ip, r7 + ldr r7, =__NR_sendfile64 + swi #0 + mov r7, ip + cmn r0, #(MAX_ERRNO + 1) + bxls lr + neg r0, r0 + b __set_errno +END(sendfile64) |