aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/include/elf.h2
-rw-r--r--nuttx/arch/sim/src/up_elf.c2
-rw-r--r--nuttx/arch/x86/src/common/up_elf.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/include/elf.h b/nuttx/arch/arm/include/elf.h
index d85385380..21b2c1c2c 100644
--- a/nuttx/arch/arm/include/elf.h
+++ b/nuttx/arch/arm/include/elf.h
@@ -50,7 +50,7 @@
* e_ident[EI_DATA] = ELFDATA2LSB (little endian) or ELFDATA2MSB (big endian)
*/
-#if 0 /* Defined in include/elf.h */
+#if 0 /* Defined in include/elf32.h */
#define EM_ARM 40
#endif
diff --git a/nuttx/arch/sim/src/up_elf.c b/nuttx/arch/sim/src/up_elf.c
index ca3b642dc..26a8971a7 100644
--- a/nuttx/arch/sim/src/up_elf.c
+++ b/nuttx/arch/sim/src/up_elf.c
@@ -40,7 +40,7 @@
#include <nuttx/config.h>
#include <stdlib.h>
-#include <elf.h>
+#include <elf32.h>
#include <errno.h>
#include <debug.h>
diff --git a/nuttx/arch/x86/src/common/up_elf.c b/nuttx/arch/x86/src/common/up_elf.c
index be166b480..da3f7b993 100644
--- a/nuttx/arch/x86/src/common/up_elf.c
+++ b/nuttx/arch/x86/src/common/up_elf.c
@@ -40,7 +40,7 @@
#include <nuttx/config.h>
#include <stdlib.h>
-#include <elf.h>
+#include <elf32.h>
#include <errno.h>
#include <debug.h>