blob: 5004d505ae85a50d43584060b8fe2da056acd92f [file] [log] [blame]
Chris Dearman50432122014-02-05 16:59:23 -08001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08003#include <private/bionic_asm.h>
Chris Dearman50432122014-02-05 16:59:23 -08004
Daniel Micay4200e262015-11-03 05:14:08 -05005ENTRY(___mremap)
Chris Dearman50432122014-02-05 16:59:23 -08006 .set push
7 .set noreorder
8 li v0, __NR_mremap
9 syscall
10 bnez a3, 1f
11 move a0, v0
12 j ra
13 nop
141:
15 move t0, ra
16 bal 2f
17 nop
182:
19 .cpsetup ra, t1, 2b
Elliott Hughes7efad832014-09-08 15:25:01 -070020 LA t9,__set_errno_internal
Chris Dearman50432122014-02-05 16:59:23 -080021 .cpreturn
22 j t9
23 move ra, t0
24 .set pop
Daniel Micay4200e262015-11-03 05:14:08 -050025END(___mremap)
26.hidden ___mremap