diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-12 04:55:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-12 04:55:29 +0000 |
commit | b3535c273043da91247840c4af64bb573d5517c4 (patch) | |
tree | e0833c5b5f862296db154e5e0def0ef3d9cfd860 /winsup/cygwin/gendef | |
parent | b91faaabea22917018019f762b41272fc81965e4 (diff) | |
download | cygnal-b3535c273043da91247840c4af64bb573d5517c4.tar.gz cygnal-b3535c273043da91247840c4af64bb573d5517c4.tar.bz2 cygnal-b3535c273043da91247840c4af64bb573d5517c4.zip |
* gendef (_sigbe): Zero location on pop.
(_cygtls::pop): Ditto.
Diffstat (limited to 'winsup/cygwin/gendef')
-rwxr-xr-x | winsup/cygwin/gendef | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/winsup/cygwin/gendef b/winsup/cygwin/gendef index 72afbc1c9..4395ac6de 100755 --- a/winsup/cygwin/gendef +++ b/winsup/cygwin/gendef @@ -127,8 +127,7 @@ __sigbe: jmp 1b # and loop 2: movl \$-4,%eax # now decrement aux stack xadd %eax,$tls::stackptr(%edx) # and get pointer -# xorl %ebx,%ebx - movl \$0x41774177,%ebx + xorl %ebx,%ebx xchgl %ebx,-4(%eax) # xchgl %ebx,8(%esp) decl $tls::stacklock(%edx) # release lock @@ -143,8 +142,7 @@ __ZN7_cygtls3popEv: movl %eax,%edx movl \$-4,%ebx xadd %ebx,$tls::pstackptr(%edx) -# xorl %eax,%eax - movl 8(%esp),%eax + xorl %eax,%eax xchgl %eax,-4(%ebx) popl %edx # FIXME: needed? popl %ebx |