aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/crunch/crunchide/exec_elf32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/crunch/crunchide/exec_elf32.c b/usr.sbin/crunch/crunchide/exec_elf32.c
index e9bc22798bde..d7f45b00d40f 100644
--- a/usr.sbin/crunch/crunchide/exec_elf32.c
+++ b/usr.sbin/crunch/crunchide/exec_elf32.c
@@ -174,6 +174,10 @@ ELFNAMEEND(check)(int fd, const char *fn)
switch (xe16toh(eh.e_machine)) {
case EM_386: break;
case EM_ALPHA: break;
+#ifndef EM_AARCH64
+#define EM_AARCH64 183
+#endif
+ case EM_AARCH64: break;
#ifndef EM_ARM
#define EM_ARM 40
#endif