mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Make loader tell what module it is relocating (debug)
svn path=/trunk/; revision=9286
This commit is contained in:
parent
7450b416e4
commit
01e86752a1
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: utils.c,v 1.84 2004/03/13 18:14:04 hbirr Exp $
|
||||
/* $Id: utils.c,v 1.85 2004/05/02 20:53:50 tamlin Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -2104,8 +2104,8 @@ LdrpLoadModule(IN PWSTR SearchPath OPTIONAL,
|
|||
* relocation. */
|
||||
if (ImageBase != (PVOID) NtHeaders->OptionalHeader.ImageBase)
|
||||
{
|
||||
DPRINT1("Performing relocations (%x -> %x)\n",
|
||||
NtHeaders->OptionalHeader.ImageBase, ImageBase);
|
||||
DPRINT1("Relocating (%x -> %x) %wZ\n",
|
||||
NtHeaders->OptionalHeader.ImageBase, ImageBase, &FullDosName);
|
||||
Status = LdrPerformRelocations(NtHeaders, ImageBase);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue