* config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
[deliverable/binutils-gdb.git] / bfd / elf64-sh64.c
index 5b11aa869543977fbc6651f1958676bce4e88659..dee4a44d97aea387d56696046b812d1c3d3f7bf5 100644 (file)
@@ -3607,6 +3607,9 @@ sh64_elf64_discard_copies (h, ignore)
 {
   struct elf_sh64_pcrel_relocs_copied *s;
 
+  if (h->root.root.type == bfd_link_hash_warning)
+    h = (struct elf_sh64_link_hash_entry *) h->root.root.u.i.link;
+
   /* We only discard relocs for symbols defined in a regular object.  */
   if ((h->root.elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) == 0)
     return true;
This page took 0.023967 seconds and 4 git commands to generate.