summaryrefslogtreecommitdiff
path: root/nuttx/include/elf.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 23:52:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-25 23:52:50 +0000
commitb9732fc877642a6cddde87f3440a6589675f10de (patch)
tree921c4ba2493bf130a54d7db1f2d3cf76d1ddf1fe /nuttx/include/elf.h
parentd6b30f6e49779b31617fad8e8daa06470145f909 (diff)
downloadpx4-nuttx-b9732fc877642a6cddde87f3440a6589675f10de.tar.gz
px4-nuttx-b9732fc877642a6cddde87f3440a6589675f10de.tar.bz2
px4-nuttx-b9732fc877642a6cddde87f3440a6589675f10de.zip
Add an ARM ELF header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5262 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/elf.h')
-rw-r--r--nuttx/include/elf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/include/elf.h b/nuttx/include/elf.h
index c3fb2732d..caf0b1876 100644
--- a/nuttx/include/elf.h
+++ b/nuttx/include/elf.h
@@ -65,7 +65,9 @@
#define ET_LOPROC 0xff00 /* Processor-specific */
#define ET_HIPROC 0xffff /* Processor-specific */
-/* Values for Elf32_Ehdr::e_machine */
+/* Values for Elf32_Ehdr::e_machine (most of this were not included in the
+ * original SCO document but have been gleaned from elsewhere).
+ */
#define EM_NONE 0 /* No machine */
#define EM_M32 1 /* AT&T WE 32100 */
@@ -81,6 +83,7 @@
#define EM_SPARC32PLUS 18 /* Sun's "v8plus" */
#define EM_PPC 20 /* PowerPC */
#define EM_PPC64 21 /* PowerPC64 */
+#define EM_ARM 40 /* ARM */
#define EM_SH 42 /* SuperH */
#define EM_SPARCV9 43 /* SPARC v9 64-bit */
#define EM_IA_64 50 /* HP/Intel IA-64 */