* elf32-h8300.c (elf32_h8_relax_section): Fix typo.
authorJeff Law <law@redhat.com>
Wed, 11 Sep 2002 19:19:11 +0000 (19:19 +0000)
committerJeff Law <law@redhat.com>
Wed, 11 Sep 2002 19:19:11 +0000 (19:19 +0000)
bfd/elf32-h8300.c

index 48e2960998d980216520bdc6409f82e1e4457fa1..c1c77ec0b43baae95488cdd9fc0dcaaf939ea283 100644 (file)
@@ -765,7 +765,7 @@ elf32_h8_relax_section (abfd, sec, link_info, again)
          Elf_Internal_Sym *isym;
          asection *sym_sec;
 
-         isym = isymbuf + ELF64_R_SYM (irel->r_info);
+         isym = isymbuf + ELF32_R_SYM (irel->r_info);
          sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx);
          symval = (isym->st_value
                    + sym_sec->output_section->vma