Signed-off-by: Guo Ren <ren_guo(a)c-sky.com>
---
utils/ldd.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/utils/ldd.c b/utils/ldd.c
index 963dd1a..4c5635c 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
--
2.7.4