|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78095 - in trunk: boost/context/detail libs/context/src/asm
From: oliver.kowalke_at_[hidden]
Date: 2012-04-20 14:51:36
Author: olli
Date: 2012-04-20 14:51:35 EDT (Fri, 20 Apr 2012)
New Revision: 78095
URL: http://svn.boost.org/trac/boost/changeset/78095
Log:
context: correction for Win32 (typo in fcontext_t), correct stack base in asm
Text files modified:
trunk/boost/context/detail/fcontext_i386_win.hpp | 2 +-
trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/context/detail/fcontext_i386_win.hpp
==============================================================================
--- trunk/boost/context/detail/fcontext_i386_win.hpp (original)
+++ trunk/boost/context/detail/fcontext_i386_win.hpp 2012-04-20 14:51:35 EDT (Fri, 20 Apr 2012)
@@ -55,7 +55,7 @@
fc_greg(),
fc_stack(),
fc_link( 0),
- fc_except_lst( 0),
+ fc_excpt_lst( 0),
fc_local_storage( 0),
fc_fp()
{}
Modified: trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm
==============================================================================
--- trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm (original)
+++ trunk/libs/context/src/asm/fcontext_i386_ms_pe_masm.asm 2012-04-20 14:51:35 EDT (Fri, 20 Apr 2012)
@@ -120,7 +120,7 @@
mov [eax], eax ; save the address of current context
mov ecx, [esp+08h] ; load the address of the function supposed to run
mov [eax+014h], ecx ; save the address of the function supposed to run
- mov edx, [eax+020h] ; load the stack base
+ mov edx, [eax+018h] ; load the stack base
push eax ; save pointer to fcontext_t
push edx ; stack pointer as arg for align_stack
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