bionic/libc/arch-mips/syscalls/setresgid.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 setresgid
.align 4
.ent setresgid
setresgid:
.set noreorder
.cpload $t9
li $v0, __NR_setresgid
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end setresgid