blob: 351e1c7f97b77d9c3e7eb4b3f0fa6542efefc2d9 [file] [log] [blame]
Elliott Hughes3f525d42014-06-24 16:32:01 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
Dan Alberte35fd482014-08-08 15:19:20 -07005 .hidden __set_errno
6
Elliott Hughes3f525d42014-06-24 16:32:01 -07007ENTRY(splice)
8 movq %rcx, %r10
9 movl $__NR_splice, %eax
10 syscall
11 cmpq $-MAX_ERRNO, %rax
12 jb 1f
13 negl %eax
14 movl %eax, %edi
15 call __set_errno
161:
17 ret
18END(splice)