platform_bionic/libc/arch-mips/syscalls/gettimeofday.S
Elliott Hughes 9abbbdc534 Make mips/mips64 syscall stubs more like the other architectures.
Change-Id: I55f8c1a95f643a6e484f12fbcc25e2c77e55b6b8
2014-02-19 14:54:31 -08:00

19 lines
303 B
ArmAsm

/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
ENTRY(gettimeofday)
.set noreorder
.cpload t9
li v0, __NR_gettimeofday
syscall
bnez a3, 1f
move a0, v0
j ra
nop
1:
la t9,__set_errno
j t9
nop
.set reorder
END(gettimeofday)