dbghelp: Set also reloc_delta information in module description for PE native modules.
authorEric Pouech <eric.pouech@orange.fr>
Sun, 13 Mar 2011 20:31:24 +0000 (21:31 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Mar 2011 12:20:29 +0000 (13:20 +0100)
dlls/dbghelp/pe_module.c

index 028eac7140f150eb53cb76819da143638cb1dcdf..6ab423a29da3923df817b5732c749e9daa40e624 100644 (file)
@@ -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
         {