Author: fireball Date: Wed Dec 6 00:06:40 2006 New Revision: 25072
URL: http://svn.reactos.org/svn/reactos?rev=25072&view=rev Log: Get rid of a hack commited in 25070 (and reverted in 25071). Alex really watches commits, beware!
Modified: branches/winldr/windows/peloader.c
Modified: branches/winldr/windows/peloader.c URL: http://svn.reactos.org/svn/reactos/branches/winldr/windows/peloader.c?rev=25... ============================================================================== --- branches/winldr/windows/peloader.c (original) +++ branches/winldr/windows/peloader.c Wed Dec 6 00:06:40 2006 @@ -418,10 +418,10 @@ DbgPrint((DPRINT_WINDOWS, "Relocating %p -> %p\n", NtHeaders->OptionalHeader.ImageBase, VirtualBase)); Status = (BOOLEAN)LdrRelocateImageWithBias(PhysicalBase, - 0, - "FLx86", + (ULONG_PTR)VirtualBase - (ULONG_PTR)PhysicalBase, + "FreeLdr", TRUE, - 3, + TRUE, /* in case of conflict still return success */ FALSE); }