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>
|
2013-01-10 00:46:06 +01:00
|
|
|
|
2014-05-17 00:47:29 +02:00
|
|
|
ENTRY(__signalfd4)
|
2013-01-10 00:46:06 +01:00
|
|
|
pushl %ebx
|
|
|
|
pushl %ecx
|
|
|
|
pushl %edx
|
|
|
|
pushl %esi
|
2014-01-07 01:39:10 +01:00
|
|
|
.cfi_def_cfa_offset 16
|
|
|
|
.cfi_rel_offset ebx, 0
|
|
|
|
.cfi_rel_offset ecx, 4
|
|
|
|
.cfi_rel_offset edx, 8
|
|
|
|
.cfi_rel_offset esi, 12
|
2013-01-10 00:46:06 +01:00
|
|
|
mov 20(%esp), %ebx
|
|
|
|
mov 24(%esp), %ecx
|
|
|
|
mov 28(%esp), %edx
|
|
|
|
mov 32(%esp), %esi
|
|
|
|
movl $__NR_signalfd4, %eax
|
|
|
|
int $0x80
|
2013-03-12 22:57:30 +01:00
|
|
|
cmpl $-MAX_ERRNO, %eax
|
2013-01-10 00:46:06 +01:00
|
|
|
jb 1f
|
|
|
|
negl %eax
|
|
|
|
pushl %eax
|
|
|
|
call __set_errno
|
|
|
|
addl $4, %esp
|
|
|
|
orl $-1, %eax
|
|
|
|
1:
|
|
|
|
popl %esi
|
|
|
|
popl %edx
|
|
|
|
popl %ecx
|
|
|
|
popl %ebx
|
|
|
|
ret
|
2014-05-17 00:47:29 +02:00
|
|
|
END(__signalfd4)
|