Eric Pouech : dbghelp: Set also reloc_delta information in module description for PE native modules .

Alexandre Julliard julliard at winehq.org
Mon Mar 14 14:29:39 CDT 2011


Module: wine
Branch: master
Commit: 0be7461fc8034e712d9ff9be72ce356b38b8f5ca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0be7461fc8034e712d9ff9be72ce356b38b8f5ca

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Sun Mar 13 21:31:24 2011 +0100

dbghelp: Set also reloc_delta information in module description for PE native modules.

---

 dlls/dbghelp/pe_module.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c
index 028eac7..6ab423a 100644
--- a/dlls/dbghelp/pe_module.c
+++ b/dlls/dbghelp/pe_module.c
@@ -775,6 +775,7 @@ struct module* pe_load_native_module(struct process* pcs, const WCHAR* name,
                 module->module.SymType = SymDeferred;
             else
                 pe_load_debug_info(pcs, module);
+            module->reloc_delta = base - modfmt->u.pe_info->fmap.u.pe.ntheader.OptionalHeader.ImageBase;
         }
         else
         {




More information about the wine-cvs mailing list