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]
/
stdio-common
/
rename.shared.s
blob
8a0f5015ab9014d8c1cbb5ac9a9e2a3635bb07af
1
.text
2
#APP
3
memmove
=
__GI_memmove
4
memset
=
__GI_memset
5
memcpy
=
__GI_memcpy
6
#NO_APP
7
.p2align 4,,15
8
.globl rename
9
.type rename, @function
10
rename
:
11
movl $
82
, %
eax
12
#APP
13
# 29 "../sysdeps/unix/sysv/linux/rename.c" 1
14
syscall
15
16
# 0 "" 2
17
#NO_APP
18
cmpq $
-
4096
, %
rax
19
ja
.L5
20
rep ret
21
.p2align 4,,10
22
.p2align 3
23
.L5:
24
movq __libc_errno@gottpoff
(%
rip
), %
rdx
25
negl
%
eax
26
movl
%
eax
, %
fs
:(%
rdx
)
27
movl $
-
1
, %
eax
28
ret
29
.size rename, .-rename