diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-06 06:08:51 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-06 06:08:51 +0200 |
commit | 10f469f6ce1a0c14e4506c42e47e15aa83be2eef (patch) | |
tree | e82db5f9efd733b94417269e7c5b0e525c765b4e /utils | |
parent | 0550ecce0e6580c5ad34e9a9a39ff18ccf8774f9 (diff) |
bfin: allow to build ldd
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ldd.c | 5 |
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 |