Guillaume Ranquet | 6ff0c75 | 2014-02-10 13:11:29 +0100 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
| 2 | |
| 3 | #include <private/bionic_asm.h> |
| 4 | |
Dan Albert | bc9f9f2 | 2014-08-08 15:19:20 -0700 | [diff] [blame^] | 5 | .hidden __set_errno |
| 6 | |
Guillaume Ranquet | 6ff0c75 | 2014-02-10 13:11:29 +0100 | [diff] [blame] | 7 | ENTRY(sendmmsg) |
| 8 | pushl %ebx |
Guillaume Ranquet | 6ff0c75 | 2014-02-10 13:11:29 +0100 | [diff] [blame] | 9 | .cfi_def_cfa_offset 8 |
| 10 | .cfi_rel_offset ebx, 0 |
Christopher Ferris | 15b91e9 | 2014-05-29 18:17:09 -0700 | [diff] [blame] | 11 | pushl %ecx |
| 12 | .cfi_adjust_cfa_offset 4 |
| 13 | .cfi_rel_offset ecx, 0 |
Guillaume Ranquet | 6ff0c75 | 2014-02-10 13:11:29 +0100 | [diff] [blame] | 14 | mov $20, %ebx |
| 15 | mov %esp, %ecx |
| 16 | addl $12, %ecx |
| 17 | movl $__NR_socketcall, %eax |
| 18 | int $0x80 |
| 19 | cmpl $-MAX_ERRNO, %eax |
| 20 | jb 1f |
| 21 | negl %eax |
| 22 | pushl %eax |
Dan Albert | 3726f9c | 2014-08-08 15:15:29 -0700 | [diff] [blame] | 23 | call __set_errno |
Guillaume Ranquet | 6ff0c75 | 2014-02-10 13:11:29 +0100 | [diff] [blame] | 24 | addl $4, %esp |
Guillaume Ranquet | 6ff0c75 | 2014-02-10 13:11:29 +0100 | [diff] [blame] | 25 | 1: |
| 26 | popl %ecx |
| 27 | popl %ebx |
| 28 | ret |
| 29 | END(sendmmsg) |