summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-08-26 15:05:01 -0700
committerFurquan Shaikh <furquan@google.com>2014-09-23 22:27:31 +0200
commit4194338e6232912fb17a5f46bb0ec6a310000a28 (patch)
tree0d254842b8426958bc4c9a2be656ee6f23b1d326 /util
parent9ceca503554ba585a49e298ff4b1d2e017c6ef5b (diff)
mkelfimage: Add EM_AARCH64 as elf image type for arm64
Change-Id: I5510a4fe5085430b767161133113578b7cffa237 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/214327 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/6954 Reviewed-by: Aaron Durbin <adurbin@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'util')
-rw-r--r--util/mkelfImage/include/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/mkelfImage/include/elf.h b/util/mkelfImage/include/elf.h
index eb9ac1d71e..c3f4103f3d 100644
--- a/util/mkelfImage/include/elf.h
+++ b/util/mkelfImage/include/elf.h
@@ -91,6 +91,8 @@
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
#define EM_NUM 95
+#define EM_AARCH64 183 /* ARM Aarch64 Architecture */
+
/* Values for p_type. */
#define PT_NULL 0 /* Unused entry. */
#define PT_LOAD 1 /* Loadable segment. */