mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
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)
svn path=/trunk/; revision=32177
This commit is contained in:
parent
2c43803e7a
commit
d54c5304b2
2 changed files with 9 additions and 2 deletions
|
@ -2631,7 +2631,9 @@ extern NTSTATUS NTAPI ElfFmtCreateSection
|
|||
static PEXEFMT_LOADER ExeFmtpLoaders[] =
|
||||
{
|
||||
PeFmtCreateSection,
|
||||
#ifdef __ELF
|
||||
ElfFmtCreateSection
|
||||
#endif
|
||||
};
|
||||
|
||||
static
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
<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>
|
||||
<include base="ntoskrnl" root="intermediate"></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>
|
||||
|
|
Loading…
Reference in a new issue