summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-06 06:08:51 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-06 06:08:51 +0200
commit10f469f6ce1a0c14e4506c42e47e15aa83be2eef (patch)
treee82db5f9efd733b94417269e7c5b0e525c765b4e
parent0550ecce0e6580c5ad34e9a9a39ff18ccf8774f9 (diff)
bfin: allow to build ldd
-rw-r--r--utils/ldd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index f6413c67c..5d2c8f4c7 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -35,6 +35,11 @@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined(__bfin__)
+#define MATCH_MACHINE(x) (x == EM_BLACKFIN)
+#define ELFCLASSM ELFCLASS32
+#endif
+
#if defined(__s390__)
#define MATCH_MACHINE(x) (x == EM_S390)
#define ELFCLASSM ELFCLASS32