* gendef (sigdelayed): 64 bit only: Fix seh_pushreg statements in

prologue.
This commit is contained in:
Corinna Vinschen 2014-10-24 15:04:10 +00:00
parent d3779269ca
commit de7358ca6b
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-10-24 Corinna Vinschen <corinna@vinschen.de>
* gendef (sigdelayed): 64 bit only: Fix seh_pushreg statements in
prologue.
2014-10-24 Kai Tietz <corinna@vinschen.de>
Corinna Vinschen <corinna@vinschen.de>

View File

@ -187,14 +187,13 @@ _sigbe: # return here after cygwin syscall
.global sigdelayed
.seh_proc sigdelayed
sigdelayed:
.seh_pushreg %rbp
pushq %r10 # used for return address injection
.seh_pushreg %rbp
.seh_pushreg %r10
pushq %rbp
.seh_pushreg %rbp
movq %rsp,%rbp
.seh_pushreg %rax # fake, there's no .seh_pushreg for the flags
pushf
.seh_pushreg %rax # fake, there's no .seh_pushreg for the flags
# stack is aligned or unaligned on entry!
# make sure it is aligned from here on
# We could be called from an interrupted thread which doesn't know