summaryrefslogtreecommitdiff
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
commit17022085bea9b14b713779abbfd5a582509341a6 (patch)
tree0f82fe4e83c0d96de0f2b3e0f11c2ad0d111ee5e /binutils
parent8121871ed82cf8dd31109dca27287b9c532ea9eb (diff)
downloadbinutils-redhat-17022085bea9b14b713779abbfd5a582509341a6.tar.gz
* 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 79233c64e5..4d355e84b1 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 45ce308fe8..c018654b1e 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;