PR ld/15323
[deliverable/binutils-gdb.git] / bfd / elf32-score.c
index dae7f69b3ab766cf62e6afe77d7653f3f25857f3..47cc98733a09a6120c1fc23eea8291a37b0ede03 100644 (file)
@@ -2837,6 +2837,10 @@ s3_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.02416 seconds and 4 git commands to generate.