* gendef (_sigbe): Zero location on pop.
(_cygtls::pop): Ditto.
This commit is contained in:
parent
b91faaabea
commit
b3535c2730
|
@ -1,3 +1,8 @@
|
||||||
|
2004-02-11 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* gendef (_sigbe): Zero location on pop.
|
||||||
|
(_cygtls::pop): Ditto.
|
||||||
|
|
||||||
2004-02-11 Christopher Faylor <cgf@redhat.com>
|
2004-02-11 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* dcrt0.cc (alloc_stack_hard_way): Eliminate second argument.
|
* dcrt0.cc (alloc_stack_hard_way): Eliminate second argument.
|
||||||
|
|
|
@ -127,8 +127,7 @@ __sigbe:
|
||||||
jmp 1b # and loop
|
jmp 1b # and loop
|
||||||
2: movl \$-4,%eax # now decrement aux stack
|
2: movl \$-4,%eax # now decrement aux stack
|
||||||
xadd %eax,$tls::stackptr(%edx) # and get pointer
|
xadd %eax,$tls::stackptr(%edx) # and get pointer
|
||||||
# xorl %ebx,%ebx
|
xorl %ebx,%ebx
|
||||||
movl \$0x41774177,%ebx
|
|
||||||
xchgl %ebx,-4(%eax) #
|
xchgl %ebx,-4(%eax) #
|
||||||
xchgl %ebx,8(%esp)
|
xchgl %ebx,8(%esp)
|
||||||
decl $tls::stacklock(%edx) # release lock
|
decl $tls::stacklock(%edx) # release lock
|
||||||
|
@ -143,8 +142,7 @@ __ZN7_cygtls3popEv:
|
||||||
movl %eax,%edx
|
movl %eax,%edx
|
||||||
movl \$-4,%ebx
|
movl \$-4,%ebx
|
||||||
xadd %ebx,$tls::pstackptr(%edx)
|
xadd %ebx,$tls::pstackptr(%edx)
|
||||||
# xorl %eax,%eax
|
xorl %eax,%eax
|
||||||
movl 8(%esp),%eax
|
|
||||||
xchgl %eax,-4(%ebx)
|
xchgl %eax,-4(%ebx)
|
||||||
popl %edx # FIXME: needed?
|
popl %edx # FIXME: needed?
|
||||||
popl %ebx
|
popl %ebx
|
||||||
|
|
Loading…
Reference in New Issue