Home | History | Annotate | Download | only in syscalls
      1 /* Generated by gensyscalls.py. Do not edit. */
      2 
      3 #include <private/bionic_asm.h>
      4 
      5 ENTRY(write)
      6     .set push
      7     .set noreorder
      8     li v0, __NR_write
      9     syscall
     10     bnez a3, 1f
     11     move a0, v0
     12     j ra
     13     nop
     14 1:
     15     move t0, ra
     16     bal     2f
     17     nop
     18 2:
     19     .cpsetup ra, t1, 2b
     20     LA t9,__set_errno_internal
     21     .cpreturn
     22     j t9
     23     move ra, t0
     24     .set pop
     25 END(write)
     26