diff options
-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 a95e56975..a12acd253 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -20,6 +20,11 @@ #define ELFCLASSM ELFCLASS64 #endif +#if defined(__arc__) +#define MATCH_MACHINE(x) (x == EM_ARCOMPACT) +#define ELFCLASSM ELFCLASS32 +#endif + #if defined(__arm__) || defined(__thumb__) #define MATCH_MACHINE(x) (x == EM_ARM) #define ELFCLASSM ELFCLASS32 |