mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* gendef (sigbe): Reset "incyg" while the stack lock is active to avoid a
potential race.
This commit is contained in:
parent
7d5f6c1887
commit
a680a53258
@ -1,3 +1,8 @@
|
||||
2007-08-09 Ernie Coskrey <Ernie.Coskrey@steeleye.com>
|
||||
|
||||
* gendef (sigbe): Reset "incyg" while the stack lock is active to avoid
|
||||
a potential race.
|
||||
|
||||
2007-08-09 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (rename): Close oldpath file handle immediately after
|
||||
|
@ -158,9 +158,9 @@ __sigbe: # return here after cygwin syscall
|
||||
xorl %edx,%edx
|
||||
xchgl %edx,-4(%eax) # get return address from signal stack
|
||||
xchgl %edx,8(%esp) # restore edx/real return address
|
||||
decl $tls::incyg(%ebx)
|
||||
decl $tls::stacklock(%ebx) # release lock
|
||||
popl %eax
|
||||
decl $tls::incyg(%ebx)
|
||||
popl %ebx
|
||||
ret
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user