blob: 0911f5f643f15eca51ab06db3db57ac2a66a28bb [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08003#include <private/bionic_asm.h>
Elliott Hughesb4f76162013-09-19 16:27:24 -07004
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08005ENTRY(truncate64)
Elliott Hughesb4f76162013-09-19 16:27:24 -07006 .set noreorder
Elliott Hugheseae27dc2014-02-19 12:20:00 -08007 .cpload t9
8 li v0, __NR_truncate64
Elliott Hughesb4f76162013-09-19 16:27:24 -07009 syscall
Elliott Hugheseae27dc2014-02-19 12:20:00 -080010 bnez a3, 1f
11 move a0, v0
12 j ra
Elliott Hughesb4f76162013-09-19 16:27:24 -070013 nop
141:
Elliott Hugheseae27dc2014-02-19 12:20:00 -080015 la t9,__set_errno
16 j t9
Elliott Hughesb4f76162013-09-19 16:27:24 -070017 nop
18 .set reorder
Elliott Hughes9abbbdc2014-02-19 14:54:31 -080019END(truncate64)