OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed0d4c1
)
ldd: ELFCLASSM was not defined for the Xtensa architecture
author
Chris Zankel
<chris@zankel.net>
Wed, 17 Oct 2012 23:13:15 +0000
(16:13 -0700)
committer
Chris Zankel
<chris@zankel.net>
Sat, 3 Nov 2012 19:57:45 +0000
(12:57 -0700)
Signed-off-by: Chris Zankel <chris@zankel.net>
utils/ldd.c
patch
|
blob
|
history
diff --git
a/utils/ldd.c
b/utils/ldd.c
index
2812d2a
..
e53f360
100644
(file)
--- 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>