summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-26 02:42:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-26 02:42:39 +0000
commit6cafdad8d539bbfbe2a516e46fe41549b8a6b68a (patch)
tree0ffd14523bd45197f366cb232d8f05f3d91f5c35 /nuttx/arch
parentb9732fc877642a6cddde87f3440a6589675f10de (diff)
downloadpx4-nuttx-6cafdad8d539bbfbe2a516e46fe41549b8a6b68a.tar.gz
px4-nuttx-6cafdad8d539bbfbe2a516e46fe41549b8a6b68a.tar.bz2
px4-nuttx-6cafdad8d539bbfbe2a516e46fe41549b8a6b68a.zip
Rename elf.h to elf32.h; Additional ELF loader changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5263 42af7a65-404d-4744-a932-0658087f49c3
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>