PR ld/15323
[deliverable/binutils-gdb.git] / bfd / elf32-score7.c
index b9b9f30c7f5bb16f7c6bd5f98cd9637f9692d7b1..c75c7038489371eb776311d030f34e341dd11471 100644 (file)
@@ -2641,6 +2641,10 @@ s7_bfd_score_elf_check_relocs (bfd *abfd,
             {
               while (h->root.type == bfd_link_hash_indirect)
                 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;
             }
         }
 
This page took 0.027583 seconds and 4 git commands to generate.