summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/ldd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index 8852be399..dfc4ee9a5 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -14,6 +14,11 @@
#include "porting.h"
+#if defined(__kvx__)
+#define MATCH_MACHINE(x) (x == EM_KVX)
+#define ELFCLASSM ELFCLASS64
+#endif
+
#if defined(__aarch64__)
#define MATCH_MACHINE(x) (x == EM_AARCH64)
#define ELFCLASSM ELFCLASS64