gdb/testsuite/
[deliverable/binutils-gdb.git] / bfd / elf32-metag.c
index 8f08bf6cf948dfcea5b4a5090b62599e0307da0d..8851845384b050a629935c00cc9e381e62d9e788 100644 (file)
@@ -2141,6 +2141,10 @@ elf_metag_check_relocs (bfd *abfd,
          while (hh->eh.root.type == bfd_link_hash_indirect
                 || hh->eh.root.type == bfd_link_hash_warning)
            hh = (struct elf_metag_link_hash_entry *) hh->eh.root.u.i.link;
+
+         /* PR15323, ref flags aren't set for references in the same
+            object.  */
+         hh->eh.root.non_ir_ref = 1;
        }
 
       /* Some relocs require a global offset table.  */
This page took 0.023611 seconds and 4 git commands to generate.