summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-11-23 18:46:00 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-11-23 18:46:00 +0000
commitda94c87d532e9cf23445dad7b78072080a524cd1 (patch)
treeb432247aeace23a73b152637c9625b502b6d44dc
parentb8b863e9ce3ed787335503714937032396bf6187 (diff)
downloaduClibc-alpine-da94c87d532e9cf23445dad7b78072080a524cd1.tar.bz2
uClibc-alpine-da94c87d532e9cf23445dad7b78072080a524cd1.tar.xz
Hopefully this is correct for cris.
-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"