* gendef (stabilize_sig_stack): Correctly align this pointer for call to

_cygtls::call_signal_handler.
* gentls_offsets: Output sizeof field.
* tlsoffsets.h: Regenerate.
This commit is contained in:
Christopher Faylor
2004-02-25 04:08:00 +00:00
parent 2f27f08520
commit 241f503c75
4 changed files with 12 additions and 2 deletions

View File

@@ -249,8 +249,9 @@ stabilize_sig_stack:
jmp 1b
2: cmpl \$0,$tls::sig(%edx)
jz 3f
decl $tls::stacklock(%edx)
movl %edx,%eax
decl $tls::stacklock(%edx) # unlock
movl \$-$tls::sizeof__cygtls,%eax # point to beginning
addl %edx,%eax # of tls block
call __ZN7_cygtls19call_signal_handlerEv
jmp 1b
3: ret