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]
/
login
/
getutmp.shared.s
blob
6c6a3fc1cf6e51dbf6161adf36c73924139131d6
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 getutmp
9
.type getutmp, @function
10
getutmp
:
11
movq
(%
rdi
), %
rdx
12
movq
%
rdi
, %
rax
13
movq
%
rdx
, (%
rsi
)
14
movq
376
(%
rdi
), %
rdx
15
leaq
8
(%
rsi
), %
rdi
16
andq $
-
8
, %
rdi
17
movq
%
rdx
,
376
(%
rsi
)
18
subq
%
rdi
, %
rsi
19
movq
%
rsi
, %
rcx
20
subq
%
rsi
, %
rax
21
addl $
384
, %
ecx
22
movq
%
rax
, %
rsi
23
shrl $
3
, %
ecx
24
rep movsq
25
ret
26
.size getutmp, .-getutmp
27
.globl getutmpx
28
.set getutmpx,getutmp