Explorar el Código

Hopefully this is correct for cris.

Manuel Novoa III hace 22 años
padre
commit
da94c87d53
Se han modificado 1 ficheros con 4 adiciones y 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"