OSDN Git Service

Hopefully this is correct for cris.
authorManuel Novoa III <mjn3@codepoet.org>
Sun, 23 Nov 2003 18:46:00 +0000 (18:46 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Sun, 23 Nov 2003 18:46:00 +0000 (18:46 -0000)
utils/ldd.c

index 8fdd0c1..778d7a6 100644 (file)
 #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"