diff options
author | Christopher Faylor <me@cgf.cx> | 2005-10-29 19:19:34 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-10-29 19:19:34 +0400 |
commit | f02b22dcee17b7f533c99c59e48dfe0d58e2382e (patch) | |
tree | f37f26dc7a2801de0bdca2e10328fba3e9c58b05 /winsup/cygwin/gendef | |
parent | c85263884a9d3c3bb5b082504fc98fc2bdeb9741 (diff) |
* fork.cc (frok::child): Change order of cleanup prior to return.
(fork): Save more of the stack.
* gendef: Fix some comments.
* sigproc.cc (wait_sig): Clarify debug output.
Diffstat (limited to 'winsup/cygwin/gendef')
-rwxr-xr-x | winsup/cygwin/gendef | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/gendef b/winsup/cygwin/gendef index e743ebcfc..a12b024d3 100755 --- a/winsup/cygwin/gendef +++ b/winsup/cygwin/gendef @@ -114,7 +114,7 @@ __sigfe: .global __sigbe .stabs "_sigbe:F(0,1)",36,0,0,__sigbe -__sigbe: # return here after cygwin syscall +__sigbe: # return here after cygwin syscall pushl %edx pushl %ebx pushl %eax # don't clobber @@ -131,7 +131,7 @@ __sigbe: # return here after cygwin syscall xadd %eax,$tls::stackptr(%ebx) # and get pointer xorl %edx,%edx xchgl %edx,-4(%eax) # get return address from signal stack - xchgl %edx,8(%esp) # restore ebx/real return address + xchgl %edx,8(%esp) # restore edx/real return address decl $tls::incyg(%ebx) decl $tls::stacklock(%ebx) # release lock popl %eax |