aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-06-30 18:43:33 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-06-30 18:43:33 +0000
commit75751cd9938e3bcd697f112eed7aa2e61694dd65 (patch)
tree3139a884a0c7c617f36c13e55b1e44860abbbff8 /binutils/readelf.c
parent322d4fe017fe6d9937e10ed45ef10a24769752b0 (diff)
downloadgdb-75751cd9938e3bcd697f112eed7aa2e61694dd65.zip
gdb-75751cd9938e3bcd697f112eed7aa2e61694dd65.tar.gz
gdb-75751cd9938e3bcd697f112eed7aa2e61694dd65.tar.bz2
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
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 45ce308..c018654 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -67,6 +67,7 @@
#include "elf/ia64.h"
#include "elf/m32r.h"
#include "elf/m68k.h"
+#include "elf/m68hc11.h"
#include "elf/mcore.h"
#include "elf/mips.h"
#include "elf/mmix.h"
@@ -975,6 +976,11 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
rtype = elf_i386_reloc_type (type);
break;
+ case EM_68HC11:
+ case EM_68HC12:
+ rtype = elf_m68hc11_reloc_type (type);
+ break;
+
case EM_68K:
rtype = elf_m68k_reloc_type (type);
break;