diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-10-24 19:04:10 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-10-24 19:04:10 +0400 |
commit | de7358ca6b08fcd953f55e785e7dea645434849f (patch) | |
tree | 6f6385febf21ef6cb8b1215631cdfbc65086ec84 /winsup/cygwin/gendef | |
parent | d3779269ca12e2c84a72e6ad9b2d00077f7f3ac5 (diff) |
* gendef (sigdelayed): 64 bit only: Fix seh_pushreg statements in
prologue.
Diffstat (limited to 'winsup/cygwin/gendef')
-rwxr-xr-x | winsup/cygwin/gendef | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/gendef b/winsup/cygwin/gendef index 6dcb94eae..a1c549fc5 100755 --- a/winsup/cygwin/gendef +++ b/winsup/cygwin/gendef @@ -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 |