[PATCH 7/7] add AVR32 support to utils
Hans-Christian Egtvedt
hcegtvedt at atmel.com
Tue Nov 6 07:50:10 UTC 2007
This patch adds AVR32 support to the uClibc utils.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt at atmel.com>
---
diff --git a/utils/ldd.c b/utils/ldd.c
index 75ad628..e34acd9 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -44,6 +44,11 @@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined(__avr32__)
+#define MATCH_MACHINE(x) (x == EM_AVR32)
+#define ELFCLASSM ELFCLASS32
+#endif
+
#if defined(__s390__)
#define MATCH_MACHINE(x) (x == EM_S390)
#define ELFCLASSM ELFCLASS32
More information about the uClibc
mailing list