blob: e2997079a91c34b3bd16c2c9a6f540a6c4e668b7 [file] [log] [blame]
Yabin Cui63481602014-12-01 17:41:04 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
Yabin Cui40a8f212015-05-18 11:19:11 -07005ENTRY(___rt_sigqueueinfo)
Yabin Cui63481602014-12-01 17:41:04 -08006 pushl %ebx
7 .cfi_def_cfa_offset 8
8 .cfi_rel_offset ebx, 0
9 pushl %ecx
10 .cfi_adjust_cfa_offset 4
11 .cfi_rel_offset ecx, 0
12 pushl %edx
13 .cfi_adjust_cfa_offset 4
14 .cfi_rel_offset edx, 0
Mingwei Shibe910522015-11-12 07:02:14 +000015
16 call __kernel_syscall
17 pushl %eax
18 .cfi_adjust_cfa_offset 4
19 .cfi_rel_offset eax, 0
20
21 mov 20(%esp), %ebx
22 mov 24(%esp), %ecx
23 mov 28(%esp), %edx
Yabin Cui63481602014-12-01 17:41:04 -080024 movl $__NR_rt_sigqueueinfo, %eax
Mingwei Shibe910522015-11-12 07:02:14 +000025 call *(%esp)
26 addl $4, %esp
27
Yabin Cui63481602014-12-01 17:41:04 -080028 cmpl $-MAX_ERRNO, %eax
29 jb 1f
30 negl %eax
31 pushl %eax
32 call __set_errno_internal
33 addl $4, %esp
341:
35 popl %edx
36 popl %ecx
37 popl %ebx
38 ret
Yabin Cui40a8f212015-05-18 11:19:11 -070039END(___rt_sigqueueinfo)
40.hidden ___rt_sigqueueinfo