| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
| 2 | |||||
| Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame] | 3 | #include <private/bionic_asm.h> |
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 4 | |
| Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame] | 5 | ENTRY(sendmsg) |
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 6 | .set push |
| 7 | .set noreorder | ||||
| Elliott Hughes | ab413c5 | 2017-10-13 13:22:24 -0700 | [diff] [blame] | 8 | li $v0, __NR_sendmsg |
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 9 | syscall |
| Elliott Hughes | ab413c5 | 2017-10-13 13:22:24 -0700 | [diff] [blame] | 10 | bnez $a3, 1f |
| 11 | move $a0, $v0 | ||||
| 12 | j $ra | ||||
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 13 | nop |
| 14 | 1: | ||||
| Elliott Hughes | ab413c5 | 2017-10-13 13:22:24 -0700 | [diff] [blame] | 15 | move $t0, $ra |
| 16 | bal 2f | ||||
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 17 | nop |
| 18 | 2: | ||||
| Elliott Hughes | ab413c5 | 2017-10-13 13:22:24 -0700 | [diff] [blame] | 19 | .cpsetup $ra, $t1, 2b |
| 20 | LA $t9, __set_errno_internal | ||||
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 21 | .cpreturn |
| Elliott Hughes | ab413c5 | 2017-10-13 13:22:24 -0700 | [diff] [blame] | 22 | j $t9 |
| 23 | move $ra, $t0 | ||||
| Chris Dearman | 5043212 | 2014-02-05 16:59:23 -0800 | [diff] [blame] | 24 | .set pop |
| Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame] | 25 | END(sendmsg) |