Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2014 15:25:12 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269337 - in head: sys/sys usr.bin/elfdump
Message-ID:  <201407311525.s6VFPCQe049272@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Jul 31 15:25:12 2014
New Revision: 269337
URL: http://svnweb.freebsd.org/changeset/base/269337

Log:
  elfdump: add EM_AARCH64 64-bit ARM machine architecture

Modified:
  head/sys/sys/elf_common.h
  head/usr.bin/elfdump/elfdump.c

Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h	Thu Jul 31 15:15:46 2014	(r269336)
+++ head/sys/sys/elf_common.h	Thu Jul 31 15:25:12 2014	(r269337)
@@ -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. */

Modified: head/usr.bin/elfdump/elfdump.c
==============================================================================
--- head/usr.bin/elfdump/elfdump.c	Thu Jul 31 15:15:46 2014	(r269336)
+++ head/usr.bin/elfdump/elfdump.c	Thu Jul 31 15:25:12 2014	(r269337)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407311525.s6VFPCQe049272>