blob: 5e6b7c0cd5bf122b04698464a8a47c297876092f [file] [log] [blame]
Greg Hackmanne2faf072016-03-03 08:37:53 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(setdomainname)
6 .set push
7 .set noreorder
Elliott Hughesab413c52017-10-13 13:22:24 -07008 li $v0, __NR_setdomainname
Greg Hackmanne2faf072016-03-03 08:37:53 -08009 syscall
Elliott Hughesab413c52017-10-13 13:22:24 -070010 bnez $a3, 1f
11 move $a0, $v0
12 j $ra
Greg Hackmanne2faf072016-03-03 08:37:53 -080013 nop
141:
Elliott Hughesab413c52017-10-13 13:22:24 -070015 move $t0, $ra
16 bal 2f
Greg Hackmanne2faf072016-03-03 08:37:53 -080017 nop
182:
Elliott Hughesab413c52017-10-13 13:22:24 -070019 .cpsetup $ra, $t1, 2b
20 LA $t9, __set_errno_internal
Greg Hackmanne2faf072016-03-03 08:37:53 -080021 .cpreturn
Elliott Hughesab413c52017-10-13 13:22:24 -070022 j $t9
23 move $ra, $t0
Greg Hackmanne2faf072016-03-03 08:37:53 -080024 .set pop
25END(setdomainname)