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]
/
sysvipc
/
ftok.shared.s
blob
7baab75650625cb949aa9c401e0270d847bc8c45
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 ftok
9
.type ftok, @function
10
ftok
:
11
pushq
%
rbx
12
movl
%
esi
, %
ebx
13
subq $
144
, %
rsp
14
movq
%
rsp
, %
rsi
15
call __GI___stat64
16
testl
%
eax
, %
eax
17
js
.L3
18
movl
(%
rsp
), %
eax
19
movzwl
8
(%
rsp
), %
edx
20
sall $
24
, %
ebx
21
sall $
16
, %
eax
22
andl $
16711680
, %
eax
23
orl
%
edx
, %
eax
24
orl
%
ebx
, %
eax
25
.L1:
26
addq $
144
, %
rsp
27
popq
%
rbx
28
ret
29
.p2align 4,,10
30
.p2align 3
31
.L3:
32
movl $
-
1
, %
eax
33
jmp
.L1
34
.size ftok, .-ftok