[uClibc-cvs] uClibc/ldso/util ldd.c,1.27,1.28
Erik Andersen
andersen at codepoet.org
Tue Mar 4 10:39:09 UTC 2003
Update of /var/cvs/uClibc/ldso/util
In directory winder:/tmp/cvs-serv22479/ldso/util
Modified Files:
ldd.c
Log Message:
Patch from Stefan Allius to make ldd.c compile under Solaris
Index: ldd.c
===================================================================
RCS file: /var/cvs/uClibc/ldso/util/ldd.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- ldd.c 1 Mar 2003 11:02:43 -0000 1.27
+++ ldd.c 4 Mar 2003 10:39:05 -0000 1.28
@@ -92,6 +92,12 @@
#define ELFCLASSM ELFCLASS32
#endif
+#if defined (__sparc__)
+#define MATCH_MACHINE(x) ((x) == EM_SPARC || (x) == EM_SPARC32PLUS)
+#define ELFCLASSM ELFCLASS32
+#endif
+
+
#ifndef MATCH_MACHINE
#warning "You really should add a MATCH_MACHINE() macro for your architecture"
#endif
More information about the uClibc-cvs
mailing list