Hi,

ARM IHI 0056B, the ELF spec for the ARM 64-bit Architecture, specifies
the following for the ELF e_machine attribute:

An object file conforming to this specification must have the value
EM_AARCH64 (183, 0xB7).

ok?

Patrick

diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h
index 5b24563..2e17788 100644
--- a/sys/sys/exec_elf.h
+++ b/sys/sys/exec_elf.h
@@ -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 */

Reply via email to