Author: tkreuzer
Date: Sat Dec 6 07:47:03 2008
New Revision: 37896
URL:
http://svn.reactos.org/svn/reactos?rev=37896&view=rev
Log:
Allow loading files with relocs stripped off.
Finally it boots again.
Modified:
branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/reactos/imageldr.c
Modified: branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/reactos/imageldr.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/boot/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/reactos/imageldr.c
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/boot/freeldr/freeldr/reactos/imageldr.c
[iso-8859-1] Sat Dec 6 07:47:03 2008
@@ -557,7 +557,11 @@
(ULONG_PTR)LoadBase,
"FreeLdr",
STATUS_SUCCESS,
+#ifdef _M_AMD64
+ STATUS_SUCCESS, // allow stripped files
+#else
STATUS_UNSUCCESSFUL,
+#endif
STATUS_UNSUCCESSFUL);
if (!NT_SUCCESS(Status))
{