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]
/
io
/
write_nocancel.s
blob
aaceb7f2d38f1d273fc55f528d961d0d42941734
1
.text
2
.p2align 4,,15
3
.globl __write_nocancel
4
.hidden __write_nocancel
5
.type __write_nocancel, @function
6
__write_nocancel
:
7
movl $
1
, %
eax
8
#APP
9
# 26 "../sysdeps/unix/sysv/linux/write_nocancel.c" 1
10
syscall
11
12
# 0 "" 2
13
#NO_APP
14
cmpq $
-
4096
, %
rax
15
ja
.L4
16
rep ret
17
.p2align 4,,10
18
.p2align 3
19
.L4:
20
movq __libc_errno@gottpoff
(%
rip
), %
rdx
21
negl
%
eax
22
movl
%
eax
, %
fs
:(%
rdx
)
23
movq $
-
1
, %
rax
24
ret
25
.size __write_nocancel, .-__write_nocancel