2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2014-02-19 23:54:31 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2012-01-28 02:51:42 +01:00
|
|
|
|
2014-02-19 23:54:31 +01:00
|
|
|
ENTRY(chdir)
|
2012-01-28 02:51:42 +01:00
|
|
|
.set noreorder
|
2017-10-12 07:27:45 +02:00
|
|
|
.cpload $t9
|
|
|
|
li $v0, __NR_chdir
|
2012-01-28 02:51:42 +01:00
|
|
|
syscall
|
2017-10-12 07:27:45 +02:00
|
|
|
bnez $a3, 1f
|
|
|
|
move $a0, $v0
|
|
|
|
j $ra
|
2012-01-28 02:51:42 +01:00
|
|
|
nop
|
|
|
|
1:
|
2017-10-12 07:27:45 +02:00
|
|
|
la $t9,__set_errno_internal
|
|
|
|
j $t9
|
2012-01-28 02:51:42 +01:00
|
|
|
nop
|
|
|
|
.set reorder
|
2014-02-19 23:54:31 +01:00
|
|
|
END(chdir)
|