blob: 2f132a200d765cbd0b42b9b37840e3ec3e2ffe3b [file] [log] [blame]
Elliott Hughesb86a4c72014-11-07 16:07:13 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(sethostname)
6 .set push
7 .set noreorder
8 li v0, __NR_sethostname
9 syscall
10 bnez a3, 1f
11 move a0, v0
12 j ra
13 nop
141:
15 move t0, ra
16 bal 2f
17 nop
182:
19 .cpsetup ra, t1, 2b
20 LA t9,__set_errno_internal
21 .cpreturn
22 j t9
23 move ra, t0
24 .set pop
25END(sethostname)