Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-10-29 19:19:34 +0400
committerChristopher Faylor <me@cgf.cx>2005-10-29 19:19:34 +0400
commitf02b22dcee17b7f533c99c59e48dfe0d58e2382e (patch)
treef37f26dc7a2801de0bdca2e10328fba3e9c58b05 /winsup/cygwin/gendef
parentc85263884a9d3c3bb5b082504fc98fc2bdeb9741 (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-xwinsup/cygwin/gendef4
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