Fix assertion failure in the BFD library when linking with --emit-relocs enabled.
authorNick Clifton <nickc@redhat.com>
Tue, 24 Mar 2020 13:35:53 +0000 (13:35 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Mar 2020 13:35:53 +0000 (13:35 +0000)
commitec2e748ad396c868839c977aa27d0333eb085970
tree541c375a5a7d59607a8615badfccbc34dde593dc
parentcda7e5603f6efd7c3716e45cc6ea11b70dd8daae
Fix assertion failure in the BFD library when linking with --emit-relocs enabled.

PR 25681
* elf.c (_bfd_elf_map_sections_to_segments): When looking for a
segment to use for PT_GNU_RELRO, ignore empty sections in a
segment's current list.
bfd/ChangeLog
bfd/elf.c