bfd/
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index 83d62583b11ed9c7eb2fc6c7532c82c19068f594..66cdf142a39bac5eb7ff868a2595e704cd72f5f0 100644 (file)
@@ -4800,6 +4800,11 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd,
       else
        {
          indx = elf_section_data (sec->output_section)->dynindx;
+         if (indx == 0)
+           {
+             asection *osec = htab->root.text_index_section;
+             indx = elf_section_data (osec)->dynindx;
+           }
          if (indx == 0)
            abort ();
        }
This page took 0.033944 seconds and 4 git commands to generate.