Get rid of a hack commited in 25070 (and reverted in 25071).

Alex really watches commits, beware!

svn path=/branches/winldr/; revision=25072
This commit is contained in:
Aleksey Bragin
2006-12-05 21:06:40 +00:00
parent 9177998d8e
commit aacdf4bcfe
+3 -3
View File
@@ -418,10 +418,10 @@ WinLdrLoadImage(IN PCHAR FileName,
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);
}