daily update
[deliverable/binutils-gdb.git] / bfd / elf32-fr30.c
index 3a4fb0615c31744397f91155189af70ae182294f..e17207960875739687a7f04ada7c760d61c2edf8 100644 (file)
@@ -707,7 +707,12 @@ fr30_elf_check_relocs (abfd, info, sec, relocs)
       if (r_symndx < symtab_hdr->sh_info)
         h = NULL;
       else
-        h = sym_hashes[r_symndx - symtab_hdr->sh_info];
+       {
+         h = sym_hashes[r_symndx - symtab_hdr->sh_info];
+         while (h->root.type == bfd_link_hash_indirect
+                || h->root.type == bfd_link_hash_warning)
+           h = (struct elf_link_hash_entry *) h->root.u.i.link;
+       }
 
       switch (ELF32_R_TYPE (rel->r_info))
         {
This page took 0.026913 seconds and 4 git commands to generate.