[uClibc-cvs] uClibc/utils ldd.c,1.2,1.3

Manuel Novoa III mjn3 at uclibc.org
Sun Nov 23 18:46:06 UTC 2003


Update of /var/cvs/uClibc/utils
In directory winder:/tmp/cvs-serv5148

Modified Files:
	ldd.c 
Log Message:
Hopefully this is correct for cris.


Index: ldd.c
===================================================================
RCS file: /var/cvs/uClibc/utils/ldd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ldd.c	12 Nov 2003 08:21:58 -0000	1.2
+++ ldd.c	23 Nov 2003 18:46:00 -0000	1.3
@@ -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"




More information about the uClibc-cvs mailing list