[PATCH 11/11] [DbgHelp]: set also reloc_delta information in module description for PE native modules
Eric Pouech
eric.pouech at orange.fr
Sun Mar 13 15:31:24 CDT 2011
A+
---
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-patches
mailing list