PR 26918
* elf64-s390.c (elf_s390_finish_dynamic_sections): Check for the
existance of an sgot output section before setting the
sh_entsize.
+2020-11-19 Nick Clifton <nickc@redhat.com>
+
+ PR 26918
+ * elf64-s390.c (elf_s390_finish_dynamic_sections): Check for the
+ existance of an sgot output section before setting the
+ sh_entsize.
+
2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
H.J. Lu <hongjiu.lu@intel.com>
bfd_put_64 (output_bfd, (bfd_vma) 0,
htab->elf.hgot->root.u.def.section->contents + 16);
}
- elf_section_data (htab->elf.sgot->output_section)
- ->this_hdr.sh_entsize = 8;
+ if (elf_section_data (htab->elf.splt->output_section) != NULL)
+ elf_section_data (htab->elf.sgot->output_section)
+ ->this_hdr.sh_entsize = 8;
}
/* Finish dynamic symbol for local IFUNC symbols. */