Add comma after HIGH3ADJ
[deliverable/binutils-gdb.git] / bfd / elf32-avr.c
index 34f89554320f2e9e054456d50bf5ef9f384e7cd7..11b5d4f726332b2b9f8f8007a472ab643f4cecf8 100644 (file)
@@ -523,7 +523,12 @@ elf32_avr_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;
+       }
     }
 
   return TRUE;
This page took 0.023849 seconds and 4 git commands to generate.