repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
misc
/
mremap.s
blob
fa56a350e3b049ca6e8b34d736aed86fd392b00c
1
.text
2
.globl __mremap
3
.type __mremap,@function
4
.align 1<<4
5
__mremap
:
6
7
movq
%
rcx
, %
r10
8
movl $
25
, %
eax
9
syscall
10
cmpq $
-
4095
, %
rax
11
jae
0
f
12
ret
13
0
:
movq __libc_errno@GOTTPOFF
(%
rip
), %
rcx
14
neg
%
eax
15
movl
%
eax
, %
fs
:(%
rcx
)
16
or
$
-
1
, %
rax
17
ret
18
.size __mremap,.-__mremap
19
.weak mremap
20
mremap
=
__mremap