]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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>
Wed, 29 Jan 2020 00:42:30 +0000 (11:12 +1030)
commit9d4684ce5baf54f6f9cf73f96de836e255eeb7ba
tree0f1f3716282304f491e0bc184d75435c9c13590c
parenta2bf3f0c65c753e0cee04eda542a6e9cedfa32ec
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.

(cherry picked from commit 67641dd326e026b84d0e4ce47f32f71132449e27)
bfd/ChangeLog
bfd/elf.c