aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-06 15:19:54 +0800
committerLey Foon Tan <lftan@altera.com>2014-12-08 12:55:57 +0800
commit4fdace8d4f8bee9ba163646e8530394f9c36e67e (patch)
tree5bde852ae242ba4f44ecc0115317b1e8f1627bbc
parente23c621f983c576af48d4976ad1ed0d0eca2bd0e (diff)
downloadtegra-dev-4fdace8d4f8bee9ba163646e8530394f9c36e67e.tar.gz
Add ELF machine define for Nios2
Signed-off-by: Ley Foon Tan <lftan@altera.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--include/uapi/linux/elf-em.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h
index aa90bc98b6e2b7..ae99f7743cf488 100644
--- a/include/uapi/linux/elf-em.h
+++ b/include/uapi/linux/elf-em.h
@@ -34,6 +34,7 @@
#define EM_MN10300 89 /* Panasonic/MEI MN10300, AM33 */
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
#define EM_BLACKFIN 106 /* ADI Blackfin Processor */
+#define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */
#define EM_TI_C6000 140 /* TI C6X DSPs */
#define EM_AARCH64 183 /* ARM 64 bit */
#define EM_FRV 0x5441 /* Fujitsu FR-V */