summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdisasm/common/libdisasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libdisasm/common/libdisasm.c')
-rw-r--r--usr/src/lib/libdisasm/common/libdisasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/lib/libdisasm/common/libdisasm.c b/usr/src/lib/libdisasm/common/libdisasm.c
index 97e64c8937..f6bdccd8e7 100644
--- a/usr/src/lib/libdisasm/common/libdisasm.c
+++ b/usr/src/lib/libdisasm/common/libdisasm.c
@@ -55,6 +55,9 @@ extern dis_arch_t dis_arch_sparc;
#if !defined(DIS_STANDALONE) || defined(__s390) || defined(__s390x)
extern dis_arch_t dis_arch_s390;
#endif
+#if !defined(DIS_STANDALONE) || defined(__aarch64__)
+extern dis_arch_t dis_arch_arm64;
+#endif
static dis_arch_t *dis_archs[] = {
#if !defined(DIS_STANDALONE) || defined(__i386) || defined(__amd64)
@@ -66,6 +69,9 @@ static dis_arch_t *dis_archs[] = {
#if !defined(DIS_STANDALONE) || defined(__s390) || defined(__s390x)
&dis_arch_s390,
#endif
+#if !defined(DIS_STANDALONE) || defined(__aarch64__)
+ &dis_arch_arm64,
+#endif
NULL
};