Author: emaste
Date: Thu Sep 24 12:54:50 2015
New Revision: 288173
URL: https://svnweb.freebsd.org/changeset/base/288173

Log:
  MFC r282916: Add ELF machine EM_IAMCU, 32-bit Intel MCU
  
  It is e_machine 6, which was previously reserved for 486.

Modified:
  stable/10/sys/sys/elf_common.h
  stable/10/usr.bin/elfdump/elfdump.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/elf_common.h
==============================================================================
--- stable/10/sys/sys/elf_common.h      Thu Sep 24 12:47:31 2015        
(r288172)
+++ stable/10/sys/sys/elf_common.h      Thu Sep 24 12:54:50 2015        
(r288173)
@@ -144,6 +144,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. */

Modified: stable/10/usr.bin/elfdump/elfdump.c
==============================================================================
--- stable/10/usr.bin/elfdump/elfdump.c Thu Sep 24 12:47:31 2015        
(r288172)
+++ stable/10/usr.bin/elfdump/elfdump.c Thu Sep 24 12:54:50 2015        
(r288173)
@@ -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";
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to