1 /* Generated by gensyscalls.py. Do not edit. */ 2 3 #include <private/bionic_asm.h> 4 5 ENTRY(sethostname) 6 mov ip, r7 7 ldr r7, =__NR_sethostname 8 swi #0 9 mov r7, ip 10 cmn r0, #(MAX_ERRNO + 1) 11 bxls lr 12 neg r0, r0 13 b __set_errno_internal 14 END(sethostname) 15