OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b863e
)
Hopefully this is correct for cris.
author
Manuel Novoa III
<mjn3@codepoet.org>
Sun, 23 Nov 2003 18:46:00 +0000
(18:46 -0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Sun, 23 Nov 2003 18:46:00 +0000
(18:46 -0000)
utils/ldd.c
patch
|
blob
|
history
diff --git
a/utils/ldd.c
b/utils/ldd.c
index
8fdd0c1
..
778d7a6
100644
(file)
--- a/
utils/ldd.c
+++ b/
utils/ldd.c
@@
-100,6
+100,10
@@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined(__cris__)
+#define MATCH_MACHINE(x) (x == EM_CRIS)
+#define ELFCLASSM ELFCLASS32
+#endif
#ifndef MATCH_MACHINE
#warning "You really should add a MATCH_MACHINE() macro for your architecture"