aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
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')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 79233c6..4d355e8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
+
+ * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
+
2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
* MAINTAINERS: Remove Tom Rix from d10v and pcc maintainerships.
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;