Add ELF machine EM_IAMCU, 32-bit Intel MCU

It is e_machine 6, which was previously reserved for 486.
This commit is contained in:
Ed Maste 2015-05-14 18:29:05 +00:00
parent bfb439bb66
commit 9afb8b24ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282916
2 changed files with 2 additions and 0 deletions

View File

@ -202,6 +202,7 @@ typedef struct {
#define EM_386 3 /* Intel i386. */
#define EM_68K 4 /* Motorola 68000. */
#define EM_88K 5 /* Motorola 88000. */
#define EM_IAMCU 6 /* Intel MCU. */
#define EM_860 7 /* Intel i860. */
#define EM_MIPS 8 /* MIPS R3000 Big-Endian only. */
#define EM_S370 9 /* IBM System/370. */

View File

@ -261,6 +261,7 @@ e_machines(u_int mach)
case EM_386: return "EM_386";
case EM_68K: return "EM_68K";
case EM_88K: return "EM_88K";
case EM_IAMCU: return "EM_IAMCU";
case EM_860: return "EM_860";
case EM_MIPS: return "EM_MIPS";
case EM_PPC: return "EM_PPC";