* elf32-tilepro.c (tilepro_elf_finish_dynamic_sections): Don't
[deliverable/binutils-gdb.git] / bfd / elf64-s390.c
index 75413e03a9f81c75f95939df8fb699958b94bbbb..3aea98ce765f0cfba9d7437dc9f8644a7abaa897 100644 (file)
@@ -3692,8 +3692,9 @@ elf_s390_finish_dynamic_sections (bfd *output_bfd,
                       - htab->elf.splt->output_section->vma - 6)/2,
                      htab->elf.splt->contents + 8);
        }
-      elf_section_data (htab->elf.splt->output_section)
-       ->this_hdr.sh_entsize = PLT_ENTRY_SIZE;
+      if (elf_section_data (htab->elf.splt->output_section) != NULL)
+       elf_section_data (htab->elf.splt->output_section)->this_hdr.sh_entsize
+         = PLT_ENTRY_SIZE;
     }
 
   if (htab->elf.sgotplt)
This page took 0.024996 seconds and 4 git commands to generate.