Add ELF machine define for Nios2
authorLey Foon Tan <lftan@altera.com>
Thu, 6 Nov 2014 07:19:54 +0000 (15:19 +0800)
committerLey Foon Tan <lftan@altera.com>
Mon, 8 Dec 2014 04:55:57 +0000 (12:55 +0800)
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/uapi/linux/elf-em.h

index aa90bc98b6e2b7e9c031cdf55b3521007a07860f..ae99f7743cf4886fc68f4af6a4fc24b4743366d2 100644 (file)
@@ -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 */