Explorar o código

Hopefully this is correct for cris.

Manuel Novoa III %!s(int64=22) %!d(string=hai) anos
pai
achega
da94c87d53
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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"