PR ld/15323
[deliverable/binutils-gdb.git] / bfd / elf32-d10v.c
index 246e5f51650c4b3f0f8049f9bc5d8b0ddc34ed4c..f75c16ae7eca9d2a403740997e76e21003642082 100644 (file)
@@ -287,6 +287,10 @@ elf32_d10v_check_relocs (bfd *abfd,
          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;
+
+         /* PR15323, ref flags aren't set for references in the same
+            object.  */
+         h->root.non_ir_ref = 1;
        }
 
       switch (ELF32_R_TYPE (rel->r_info))
This page took 0.024884 seconds and 4 git commands to generate.