bionic/libc/arch-mips/syscalls/getresuid.S
Elliott Hughes 5c2772f59d The SYS_ constants should cover all __NR_ values.
<sys/linux-syscalls.h> only contains constants for the syscalls
we're generating stubs for. We want all the syscalls available
on the architecture in question.

Keep using <sys/linux-syscalls.h> on ARM for now because the
__NR_ARM_set_tls and __NR_ARM_cacheflush values aren't in <asm/unistd.h>.

Change-Id: I66683950d87d9b18d6107d0acc0ed238a4496f44
2013-03-21 22:26:20 -07:00

23 lines
344 B
ArmAsm

/* autogenerated by gensyscalls.py */
#include <asm/unistd.h>
.text
.globl getresuid
.align 4
.ent getresuid
getresuid:
.set noreorder
.cpload $t9
li $v0, __NR_getresuid
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end getresuid