2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2009-03-04 04:28:35 +01:00
|
|
|
|
2013-02-07 02:08:15 +01:00
|
|
|
ENTRY(__fcntl64)
|
2009-03-04 04:28:35 +01:00
|
|
|
pushl %ebx
|
2014-05-30 03:17:09 +02:00
|
|
|
.cfi_def_cfa_offset 8
|
|
|
|
.cfi_rel_offset ebx, 0
|
2009-03-04 04:28:35 +01:00
|
|
|
pushl %ecx
|
2014-05-30 03:17:09 +02:00
|
|
|
.cfi_adjust_cfa_offset 4
|
|
|
|
.cfi_rel_offset ecx, 0
|
2009-03-04 04:28:35 +01:00
|
|
|
pushl %edx
|
2014-05-30 03:17:09 +02:00
|
|
|
.cfi_adjust_cfa_offset 4
|
|
|
|
.cfi_rel_offset edx, 0
|
2015-11-12 08:02:14 +01:00
|
|
|
|
|
|
|
call __kernel_syscall
|
|
|
|
pushl %eax
|
|
|
|
.cfi_adjust_cfa_offset 4
|
|
|
|
.cfi_rel_offset eax, 0
|
|
|
|
|
|
|
|
mov 20(%esp), %ebx
|
|
|
|
mov 24(%esp), %ecx
|
|
|
|
mov 28(%esp), %edx
|
2009-03-04 04:28:35 +01:00
|
|
|
movl $__NR_fcntl64, %eax
|
2015-11-12 08:02:14 +01:00
|
|
|
call *(%esp)
|
|
|
|
addl $4, %esp
|
|
|
|
|
2013-03-12 22:57:30 +01:00
|
|
|
cmpl $-MAX_ERRNO, %eax
|
2009-03-04 04:28:35 +01:00
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
pushl %eax
|
2014-09-09 00:25:01 +02:00
|
|
|
call __set_errno_internal
|
2009-03-04 04:28:35 +01:00
|
|
|
addl $4, %esp
|
|
|
|
1:
|
|
|
|
popl %edx
|
|
|
|
popl %ecx
|
|
|
|
popl %ebx
|
|
|
|
ret
|
2013-02-07 02:08:15 +01:00
|
|
|
END(__fcntl64)
|