aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-05-27 22:04:40 +0000
committerIan Lance Taylor <ian@airs.com>1999-05-27 22:04:40 +0000
commit63fcb9e946f75beb299d53a24b7047f28513bb0d (patch)
treedbbe508805e16bc6f602b4f78386d1b882881b9e /binutils/readelf.c
parent0dbfb37cce0965f2c287008d6e68a29e527e1d29 (diff)
downloadgdb-63fcb9e946f75beb299d53a24b7047f28513bb0d.zip
gdb-63fcb9e946f75beb299d53a24b7047f28513bb0d.tar.gz
gdb-63fcb9e946f75beb299d53a24b7047f28513bb0d.tar.bz2
* readelf.c: Include "elf/i960.h".
(dump_relocations): Handle EM_960.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index c2d1486..520344c 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -58,6 +58,7 @@
#include "elf/arc.h"
#include "elf/fr30.h"
#include "elf/mcore.h"
+#include "elf/i960.h"
#include "bucomm.h"
#include "getopt.h"
@@ -351,6 +352,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab)
case EM_ARM:
case EM_386:
case EM_486:
+ case EM_960:
case EM_CYGNUS_M32R:
case EM_CYGNUS_D10V:
case EM_MIPS:
@@ -467,6 +469,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, strtab)
rtype = elf_m68k_reloc_type (ELF32_R_TYPE (info));
break;
+ case EM_960:
+ rtype = elf_i960_reloc_type (ELF32_R_TYPE (info));
+ break;
+
case EM_SPARC:
rtype = elf_sparc_reloc_type (ELF32_R_TYPE (info));
break;