aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 50d3b4c..ecd13be 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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;