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 963dd1a9f..4c5635ca7 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -54,6 +54,11 @@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined(__csky__)
+#define MATCH_MACHINE(x) (x == EM_MCORE)
+#define ELFCLASSM ELFCLASS32
+#endif
+
#if defined(__frv__)
#define MATCH_MACHINE(x) (x == EM_CYGNUS_FRV)
#define ELFCLASSM ELFCLASS32