]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-iq2000.c
ELF: Don't set non_ir_ref_regular in check_relocs
[thirdparty/binutils-gdb.git] / bfd / elf32-iq2000.c
index 0260cc3fc5cf1def33783fcc648de4b006a02d41..b6ca9bd483ee242e9c92ff3f74a7c61574846fee 100644 (file)
@@ -483,10 +483,6 @@ iq2000_elf_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_regular = 1;
        }
 
       switch (ELF32_R_TYPE (rel->r_info))