Parcourir la source

Hopefully this is correct for cris.

Manuel Novoa III il y a 22 ans
Parent
commit
da94c87d53
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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"