blob: f3044f96e7b9c069be729e138b1ec0fd954e3973 [file] [log] [blame]
Elliott Hughes6f4594d2015-08-26 13:27:43 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(pwritev)
6 .set push
7 .set noreorder
Elliott Hughesab413c52017-10-13 13:22:24 -07008 li $v0, __NR_pwritev
Elliott Hughes6f4594d2015-08-26 13:27:43 -07009 syscall
Elliott Hughesab413c52017-10-13 13:22:24 -070010 bnez $a3, 1f
11 move $a0, $v0
12 j $ra
Elliott Hughes6f4594d2015-08-26 13:27:43 -070013 nop
141:
Elliott Hughesab413c52017-10-13 13:22:24 -070015 move $t0, $ra
16 bal 2f
Elliott Hughes6f4594d2015-08-26 13:27:43 -070017 nop
182:
Elliott Hughesab413c52017-10-13 13:22:24 -070019 .cpsetup $ra, $t1, 2b
20 LA $t9, __set_errno_internal
Elliott Hughes6f4594d2015-08-26 13:27:43 -070021 .cpreturn
Elliott Hughesab413c52017-10-13 13:22:24 -070022 j $t9
23 move $ra, $t0
Elliott Hughes6f4594d2015-08-26 13:27:43 -070024 .set pop
25END(pwritev)
26
27ALIAS_SYMBOL(pwritev64, pwritev)