summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2010-02-02 17:10:28 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-14 22:41:11 +0100
commit37439e66a31f251eba39604885f57099a43d943d (patch)
tree986858eda6e2e46aa71974c4b6310bbaf9e99be0 /utils
parent85385fe46b7d2777b3c82233dd210004742656e6 (diff)
ldd: Add MATCH_MACHINE definition for Meta
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/ldd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index e53f360d6..a95e56975 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -63,6 +63,11 @@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined(__metag__)
+#define MATCH_MACHINE(x) (x == EM_METAG)
+#define ELFCLASSM ELFCLASS32
+#endif
+
#if defined(__mips__)
#define MATCH_MACHINE(x) (x == EM_MIPS || x == EM_MIPS_RS3_LE)
#define ELFCLASSM ELFCLASS32