aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/gendef
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/gendef')
-rwxr-xr-xwinsup/cygwin/gendef2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/gendef b/winsup/cygwin/gendef
index a12b024..727d4bb 100755
--- a/winsup/cygwin/gendef
+++ b/winsup/cygwin/gendef
@@ -386,6 +386,8 @@ _longjmp:
movl 44(%edi),%eax # get old signal stack
movl %eax,$tls::stackptr(%ebx) # restore
decl $tls::stacklock(%ebx) # relinquish lock
+ xorl %eax,%eax
+ movl %eax,$tls::incyg(%ebx) # we're definitely not in cygwin anymore
movl 12(%ebp),%eax
testl %eax,%eax