* MAINTAINERS: Add self as CRIS port maintainer.
[deliverable/binutils-gdb.git] / binutils / readelf.c
index 50d3b4c53a66835c0b06117bc57da264692ebfa5..ecd13beac0dfa034e0ddf52c97bbbe409ab35c52 100644 (file)
@@ -71,6 +71,7 @@
 #include "elf/pj.h"
 #include "elf/avr.h"
 #include "elf/ia64.h"
+#include "elf/cris.h"
 
 #include "bucomm.h"
 #include "getopt.h"
@@ -565,6 +566,7 @@ guess_is_rela (e_machine)
     case EM_MCORE:
     case EM_IA_64:
     case EM_AVR:
+    case EM_CRIS:
       return TRUE;
 
     case EM_MMA:
@@ -879,6 +881,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
        case EM_IA_64:
          rtype = elf_ia64_reloc_type (type);
          break;
+
+       case EM_CRIS:
+         rtype = elf_cris_reloc_type (type);
+         break;
        }
 
       if (rtype == NULL)
@@ -1248,6 +1254,7 @@ get_machine_name (e_machine)
     case EM_ST19:              return "STMicroelectronics ST19 8-bit microcontroller";
     case EM_VAX:               return "Digital VAX";
     case EM_AVR:                return "Atmel AVR 8-bit microcontroller";
+    case EM_CRIS:              return "Axis Communications 32-bit embedded processor";
     default:
       sprintf (buff, _("<unknown>: %x"), e_machine);
       return buff;
This page took 0.024503 seconds and 4 git commands to generate.