OSDN Git Service

* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)
binutils/ChangeLog
binutils/readelf.c

index 79233c6..4d355e8 100644 (file)
@@ -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.
index 45ce308..c018654 100644 (file)
@@ -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;