[git commit] ldd: Add ARC support
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Dec 20 13:38:23 UTC 2013
commit: http://git.uclibc.org/uClibc/commit/?id=49904049066daf66e2937fcde860addc6ba23929
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Vineet Gupta <vgupta at synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
utils/ldd.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/utils/ldd.c b/utils/ldd.c
index a95e569..a12acd2 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
More information about the uClibc-cvs
mailing list