elfdump: add EM_AARCH64 64-bit ARM machine architecture

This commit is contained in:
Ed Maste 2014-07-31 15:25:12 +00:00
parent d34165f759
commit 2d538f8c83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269337
2 changed files with 2 additions and 0 deletions

View File

@ -237,6 +237,7 @@ typedef struct {
#define EM_ARCA 109 /* Arca RISC Microprocessor. */
#define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd.
and MPRC of Peking University */
#define EM_AARCH64 183 /* AArch64 (64-bit ARM) */
/* Non-standard or deprecated. */
#define EM_486 6 /* Intel i486. */

View File

@ -267,6 +267,7 @@ e_machines(u_int mach)
case EM_SPARCV9:return "EM_SPARCV9";
case EM_IA_64: return "EM_IA_64";
case EM_X86_64: return "EM_X86_64";
case EM_AARCH64:return "EM_AARCH64";
}
snprintf(machdesc, sizeof(machdesc),
"(unknown machine) -- type 0x%x", mach);