platform_bionic/libc/arch-mips/syscalls/lsetxattr.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

22 lines
344 B
ArmAsm

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