daily update
[deliverable/binutils-gdb.git] / bfd / elf32-cr16.c
index 656caffb330ee8bd5b5521151d29c6b2b5a26781..8ed5af1c1b575460b4a77dd1903546abccb1f550 100644 (file)
@@ -725,6 +725,10 @@ cr16_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
           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;
         }
 
       /* Some relocs require a global offset table.  */
This page took 0.023975 seconds and 4 git commands to generate.