summaryrefslogtreecommitdiff
path: root/sys/src/libmach/setmach.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-05-03 21:00:17 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-05-03 21:00:17 +0200
commit14b69dcde0dfbb72df721424571d07cdf3dcbf05 (patch)
tree26fac46e8a0b6462d7e9e5f388468bee09eb3ce6 /sys/src/libmach/setmach.c
parent9920ecc04b87cab3968f7f0c286b264bd31e132f (diff)
libmach: initial arm64 support
Diffstat (limited to 'sys/src/libmach/setmach.c')
-rw-r--r--sys/src/libmach/setmach.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/src/libmach/setmach.c b/sys/src/libmach/setmach.c
index 09e6fcf53..8f16bc409 100644
--- a/sys/src/libmach/setmach.c
+++ b/sys/src/libmach/setmach.c
@@ -17,9 +17,9 @@ struct machtab
};
extern Mach mmips, msparc, m68020, mi386, mamd64,
- marm, mmips2be, mmips2le, mpower, mpower64, msparc64;
+ marm, marm64, mmips2be, mmips2le, mpower, mpower64, msparc64;
extern Machdata mipsmach, mipsmachle, sparcmach, m68020mach, i386mach,
- armmach, mipsmach2le, powermach, sparc64mach;
+ armmach, arm64mach, mipsmach2le, powermach, sparc64mach;
/*
* machine selection table. machines with native disassemblers should
@@ -106,6 +106,12 @@ Machtab machines[] =
AARM,
&marm,
&armmach, },
+ { "arm64", /*ARM64*/
+ FARM64,
+ FARM64B,
+ AARM64,
+ &marm64,
+ &arm64mach, },
{ "power", /*PowerPC*/
FPOWER,
FPOWERB,