PR25444, Floating point exception in _bfd_elf_compute_section_file_positions
authorAlan Modra <amodra@gmail.com>
Thu, 23 Jan 2020 01:05:51 +0000 (11:35 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 23 Jan 2020 09:23:25 +0000 (19:53 +1030)
commit67641dd326e026b84d0e4ce47f32f71132449e27
tree43cf74c137c28cefcac1692b2d66cb7913798ab3
parent403d1bd91dffc9e6f5029faaa9cce7c07f268d52
PR25444, Floating point exception in _bfd_elf_compute_section_file_positions

PR 25444
* elf.c (assign_file_positions_for_load_sections): Avoid divide
by zero when p_align is zero.
bfd/ChangeLog
bfd/elf.c