|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84656 - trunk/libs/context/src/asm
From: oliver.kowalke_at_[hidden]
Date: 2013-06-06 13:11:17
Author: olli
Date: 2013-06-06 13:11:17 EDT (Thu, 06 Jun 2013)
New Revision: 84656
URL: http://svn.boost.org/trac/boost/changeset/84656
Log:
context: fix bug #8650
Text files modified:
trunk/libs/context/src/asm/make_i386_ms_pe_masm.asm | 2 +-
trunk/libs/context/src/asm/make_i386_sysv_elf_gas.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/context/src/asm/make_i386_ms_pe_masm.asm
==============================================================================
--- trunk/libs/context/src/asm/make_i386_ms_pe_masm.asm Thu Jun 6 11:28:25 2013 (r84655)
+++ trunk/libs/context/src/asm/make_i386_ms_pe_masm.asm 2013-06-06 13:11:17 EDT (Thu, 06 Jun 2013) (r84656)
@@ -75,7 +75,7 @@
stmxcsr [eax+02ch] ; save MMX control word
fnstcw [eax+030h] ; save x87 control word
- lea edx, [eax-01ch] ; reserve space for last frame and seh on context stack, (ESP - 0x4) % 16 == 0
+ lea edx, [eax-024h] ; reserve space for last frame and seh on context stack, (ESP - 0x4) % 16 == 0
mov [eax+010h], edx ; save address in EDX as stack pointer for context function
mov ecx, finish ; abs address of finish
Modified: trunk/libs/context/src/asm/make_i386_sysv_elf_gas.S
==============================================================================
--- trunk/libs/context/src/asm/make_i386_sysv_elf_gas.S Thu Jun 6 11:28:25 2013 (r84655)
+++ trunk/libs/context/src/asm/make_i386_sysv_elf_gas.S 2013-06-06 13:11:17 EDT (Thu, 06 Jun 2013) (r84656)
@@ -53,7 +53,7 @@
stmxcsr 0x20(%eax) /* save MMX control and status word */
fnstcw 0x24(%eax) /* save x87 control word */
- leal -0x8(%eax), %edx /* reserve space for the last frame on context stack; (ESP - 0x4) % 16 == 0 */
+ leal -0x14(%eax), %edx /* reserve space for the last frame on context stack; (ESP - 0x4) % 16 == 0 */
movl %edx, 0x10(%eax) /* save address in EDX as stack pointer for context function */
call 1f
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk