Set dynamic tag VMA and size from dynamic section when possible
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index f9e8f76ea7bab30408587ae02efa7ebc1c547269..f2153415cb39c7570e339cd3e9aede9e5ef31a8d 100644 (file)
@@ -11466,7 +11466,7 @@ _bfd_mips_elf_finish_dynamic_sections (bfd *output_bfd,
            case DT_MIPS_SYMTABNO:
              name = ".dynsym";
              elemsize = MIPS_ELF_SYM_SIZE (output_bfd);
-             s = bfd_get_section_by_name (output_bfd, name);
+             s = bfd_get_linker_section (dynobj, name);
 
              if (s != NULL)
                dyn.d_un.d_val = s->size / elemsize;
This page took 0.026469 seconds and 4 git commands to generate.