2009-03-04 04:28:35 +01:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2011-02-17 19:47:44 +01:00
|
|
|
#include <machine/asm.h>
|
2009-03-04 04:28:35 +01:00
|
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
|
2011-02-17 19:47:44 +01:00
|
|
|
ENTRY(chmod)
|
2013-01-16 14:02:50 +01:00
|
|
|
mov ip, r7
|
2009-03-04 04:28:35 +01:00
|
|
|
ldr r7, =__NR_chmod
|
|
|
|
swi #0
|
2013-01-16 14:02:50 +01:00
|
|
|
mov r7, ip
|
2009-03-04 04:28:35 +01:00
|
|
|
movs r0, r0
|
|
|
|
bxpl lr
|
|
|
|
b __set_syscall_errno
|
2011-02-17 19:47:44 +01:00
|
|
|
END(chmod)
|