[ros-diffs] [ros-arm-bringup] 32177: We now only compile the ELF loader if _ELF_ is defined (both because this isn't a standard Windows feature, and because the current code is completely not portable with ARM)
ros-arm-bringup at svn.reactos.org
ros-arm-bringup at svn.reactos.org
Thu Feb 7 07:36:31 CET 2008
Author: ros-arm-bringup
Date: Thu Feb 7 09:36:31 2008
New Revision: 32177
URL: http://svn.reactos.org/svn/reactos?rev=32177&view=rev
Log:
We now only compile the ELF loader if _ELF_ is defined (both because this isn't a standard Windows feature, and because the current code is completely not portable with ARM)
Modified:
trunk/reactos/ntoskrnl/mm/section.c
trunk/reactos/ntoskrnl/ntoskrnl.rbuild
Modified: trunk/reactos/ntoskrnl/mm/section.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=32177&r1=32176&r2=32177&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c (original)
+++ trunk/reactos/ntoskrnl/mm/section.c Thu Feb 7 09:36:31 2008
@@ -2631,7 +2631,9 @@
static PEXEFMT_LOADER ExeFmtpLoaders[] =
{
PeFmtCreateSection,
+#ifdef __ELF
ElfFmtCreateSection
+#endif
};
static
Modified: trunk/reactos/ntoskrnl/ntoskrnl.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl.rbuild?rev=32177&r1=32176&r2=32177&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl.rbuild (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl.rbuild Thu Feb 7 09:36:31 2008
@@ -12,6 +12,9 @@
<define name="_IN_KERNEL_" />
<if property="_WINKD_" value="1">
<define name="_WINKD_" />
+ </if>
+ <if property="_ELF" value="1">
+ <define name="_ELF_" />
</if>
<include base="cmlib">.</include>
<include base="ntoskrnl">include</include>
@@ -357,8 +360,10 @@
<file>verifier.c</file>
<file>virtual.c</file>
<file>wset.c</file>
- <file>elf32.c</file>
- <file>elf64.c</file>
+ <if property="_ELF_" value="1">
+ <file>elf32.c</file>
+ <file>elf64.c</file>
+ </if>
</directory>
<directory name="ob">
<file>obdir.c</file>
More information about the Ros-diffs
mailing list