sendfile64.S revision 7efad83d430f4d824f2aaa75edea5106f6ff8aae
1103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes/* Generated by gensyscalls.py. Do not edit. */ 2103ccde8fe2f2c8abde914a8ba736b2e9cb8d20bElliott Hughes 3ed74484dcbc2e156a6e5fa861a62425b12e55128Elliott Hughes#include <private/bionic_asm.h> 4b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes 5b4f7616fd618875768b8fffc122b58bdb84a9969Elliott HughesENTRY(sendfile64) 6b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes pushl %ebx 715b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_def_cfa_offset 8 815b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_rel_offset ebx, 0 9b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes pushl %ecx 1015b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_adjust_cfa_offset 4 1115b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_rel_offset ecx, 0 12b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes pushl %edx 1315b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_adjust_cfa_offset 4 1415b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_rel_offset edx, 0 15b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes pushl %esi 1615b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_adjust_cfa_offset 4 1715b91e92a0bb4a15b4f2258bea332f4a67fa94d7Christopher Ferris .cfi_rel_offset esi, 0 18b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes mov 20(%esp), %ebx 19b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes mov 24(%esp), %ecx 20b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes mov 28(%esp), %edx 21b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes mov 32(%esp), %esi 22b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes movl $__NR_sendfile64, %eax 23b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes int $0x80 24b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes cmpl $-MAX_ERRNO, %eax 25b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes jb 1f 26b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes negl %eax 27b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes pushl %eax 287efad83d430f4d824f2aaa75edea5106f6ff8aaeElliott Hughes call __set_errno_internal 29b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes addl $4, %esp 30b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes1: 31b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes popl %esi 32b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes popl %edx 33b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes popl %ecx 34b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes popl %ebx 35b4f7616fd618875768b8fffc122b58bdb84a9969Elliott Hughes ret 36b4f7616fd618875768b8fffc122b58bdb84a9969Elliott HughesEND(sendfile64) 37