Browse Source

Hopefully this is correct for cris.

Manuel Novoa III 21 years ago
parent
commit
da94c87d53
1 changed files with 4 additions and 0 deletions
  1. 4 0
      utils/ldd.c

+ 4 - 0
utils/ldd.c

@@ -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"