summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/ldd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index 8fdd0c10b..778d7a6c2 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -100,6 +100,10 @@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined(__cris__)
+#define MATCH_MACHINE(x) (x == EM_CRIS)
+#define ELFCLASSM ELFCLASS32
+#endif
#ifndef MATCH_MACHINE
#warning "You really should add a MATCH_MACHINE() macro for your architecture"