projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bring back ___environ symbol (3 underscores)
[musl]
/
src
/
thread
/
i386
/
syscall_cp.s
diff --git
a/src/thread/i386/syscall_cp.s
b/src/thread/i386/syscall_cp.s
index
6d8c354
..
05e867a
100644
(file)
--- a/
src/thread/i386/syscall_cp.s
+++ b/
src/thread/i386/syscall_cp.s
@@
-1,6
+1,6
@@
.text
.global __syscall_cp_asm
.text
.global __syscall_cp_asm
-.type __syscall_cp_asm,
%
function
+.type __syscall_cp_asm,
@
function
__syscall_cp_asm:
pushl %ebx
pushl %esi
__syscall_cp_asm:
pushl %ebx
pushl %esi
@@
-28,9
+28,8
@@
__syscall_cp_asm:
popl %edi
popl %esi
popl %ebx
popl %edi
popl %esi
popl %ebx
+ xorl %edx,%edx
+ movl 4(%esp),%ecx
+ movl %edx,(%ecx)
ret
ret
-2: xorl %eax,%eax
- movl %eax,4(%ecx)
- movl %eax,(%ecx)
- pushl $-1
- call __cancel
+2: call __cancel