gdb/testsuite/
[deliverable/binutils-gdb.git] / bfd / elf32-microblaze.c
index 8aafe72da25e44a91e5467be0581e30de4ce029c..4a5e80dd86debb87c64ad1670105a3684b6eff7c 100644 (file)
@@ -2348,7 +2348,13 @@ microblaze_elf_check_relocs (bfd * abfd,
       if (r_symndx < symtab_hdr->sh_info)
         h = NULL;
       else
-        h = sym_hashes [r_symndx - symtab_hdr->sh_info];
+       {
+         h = sym_hashes [r_symndx - symtab_hdr->sh_info];
+
+         /* PR15323, ref flags aren't set for references in the same
+            object.  */
+         h->root.non_ir_ref = 1;
+       }
 
       switch (r_type)
         {
This page took 0.022978 seconds and 4 git commands to generate.