diff options
author | Chris Zankel <chris@zankel.net> | 2012-10-17 16:13:15 -0700 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-11-03 12:57:45 -0700 |
commit | e3913641efa02b3dd23c5ee70efa5b62d8c6c836 (patch) | |
tree | 6842ab4478758de6792851a4b96806d8789a8d80 /utils/ldd.c | |
parent | ed0d4c1b843350646a62d936db043d0a6592413c (diff) |
ldd: ELFCLASSM was not defined for the Xtensa architecture
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'utils/ldd.c')
-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 2812d2a07..e53f360d6 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -106,6 +106,11 @@ #define ELFCLASSM ELFCLASS32 #endif +#if defined(__xtensa__) +#define MATCH_MACHINE(x) (x == EM_XTENSA) +#define ELFCLASSM ELFCLASS32 +#endif + #ifndef MATCH_MACHINE # ifdef __linux__ # include <asm/elf.h> |