summaryrefslogtreecommitdiffstats
path: root/sys/sys/exec_elf.h
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2016-11-28 21:50:12 +0000
committerpatrick <patrick@openbsd.org>2016-11-28 21:50:12 +0000
commit8a007c23ea2ffeeb776851391741b8ed6b914b78 (patch)
tree47dfff97b403dde3c4deacecb188bcf470cd957f /sys/sys/exec_elf.h
parentSetup clang to use OpenBSD settings and defines for our AArch64 (diff)
downloadwireguard-openbsd-8a007c23ea2ffeeb776851391741b8ed6b914b78.tar.xz
wireguard-openbsd-8a007c23ea2ffeeb776851391741b8ed6b914b78.zip
Add the ELF machine type for AArch64 as specified in the ELF spec for
the ARM 64-bit Architecture. ok phessler@
Diffstat (limited to 'sys/sys/exec_elf.h')
-rw-r--r--sys/sys/exec_elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h
index 5b24563d09e..7c400111abf 100644
--- a/sys/sys/exec_elf.h
+++ b/sys/sys/exec_elf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.h,v 1.64 2016/09/17 17:39:34 jasper Exp $ */
+/* $OpenBSD: exec_elf.h,v 1.65 2016/11/28 21:50:12 patrick Exp $ */
/*
* Copyright (c) 1995, 1996 Erik Theisen. All rights reserved.
*
@@ -194,6 +194,7 @@ typedef struct {
#define EM_IA_64 50 /* Intel IA-64 Processor */
#define EM_AMD64 62 /* AMD64 architecture */
#define EM_VAX 75 /* DEC VAX */
+#define EM_AARCH64 183 /* ARM 64-bit architecture (AArch64) */
/* Non-standard */
#define EM_ALPHA_EXP 0x9026 /* DEC ALPHA */