Replace a couple of assertions in the BFD library that can be triggered by attempts...
authorNick Clifton <nickc@redhat.com>
Tue, 17 Mar 2020 17:02:15 +0000 (17:02 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 Mar 2020 17:02:15 +0000 (17:02 +0000)
commit327ef784ba105f067f5c1d587908259d7aabb971
tree53a9080f38c3060cb5218a02e6fbccc05546968b
parent68e52bc7ecfbfdc8d5f85716a8ac7668e211f360
Replace a couple of assertions in the BFD library that can be triggered by attempts to parse corrupt input files.

PR 25633
* elf.c (_bfd_elf_copy_special_section_fields): Replace assertions
with error messages.
bfd/ChangeLog
bfd/elf.c
gas/ChangeLog
opcodes/ChangeLog