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
/
getdtsz.s
blob
aff8fd32294d70c755876d383171868bdb0fc6a0
1
.text
2
.p2align 4,,15
3
.globl __getdtablesize
4
.hidden __getdtablesize
5
.type __getdtablesize, @function
6
__getdtablesize
:
7
subq $
24
, %
rsp
8
movl $
7
, %
edi
9
movq
%
rsp
, %
rsi
10
call __getrlimit
11
testl
%
eax
, %
eax
12
js
.L3
13
movl
(%
rsp
), %
eax
14
addq $
24
, %
rsp
15
ret
16
.p2align 4,,10
17
.p2align 3
18
.L3:
19
movl $
256
, %
eax
20
addq $
24
, %
rsp
21
ret
22
.size __getdtablesize, .-__getdtablesize
23
.weak getdtablesize
24
.set getdtablesize,__getdtablesize
25
.hidden __getrlimit