]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-mips64/syscalls/ftruncate.S
am 40bc7cd4: (-s ours) DO NOT MERGE Re-add .save directive for arm assembler code.
[android-sdk/platform-bionic.git] / libc / arch-mips64 / syscalls / ftruncate.S
1 /* Generated by gensyscalls.py. Do not edit. */
3 #include <private/bionic_asm.h>
5 ENTRY(ftruncate)
6     .set push
7     .set noreorder
8     li v0, __NR_ftruncate
9     syscall
10     bnez a3, 1f
11     move a0, v0
12     j ra
13     nop
14 1:
15     move t0, ra
16     bal     2f
17     nop
18 2:
19     .cpsetup ra, t1, 2b
20     LA t9,__set_errno_internal
21     .cpreturn
22     j t9
23     move ra, t0
24     .set pop
25 END(ftruncate)
27     .globl ftruncate64
28     .equ ftruncate64, ftruncate