blob: cc6dee9c04935d0897558fb3e33e6084dd86e80d [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesed744842013-11-07 10:31:05 -08003#include <private/bionic_asm.h>
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07004
Daniel Micay4200e262015-11-03 05:14:08 -05005ENTRY(___mremap)
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07006 movq %rcx, %r10
7 movl $__NR_mremap, %eax
8 syscall
9 cmpq $-MAX_ERRNO, %rax
10 jb 1f
11 negl %eax
12 movl %eax, %edi
Elliott Hughes7efad832014-09-08 15:25:01 -070013 call __set_errno_internal
Elliott Hughese4ffd9f2013-10-01 13:29:43 -0700141:
15 ret
Daniel Micay4200e262015-11-03 05:14:08 -050016END(___mremap)
17.hidden ___mremap