Fix a potential illegal memory access when creating an srec format file.
authorNick Clifton <nickc@redhat.com>
Wed, 28 Oct 2020 11:07:02 +0000 (11:07 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 28 Oct 2020 11:07:02 +0000 (11:07 +0000)
commit2aec1123f9ec86cd190767c9852cb77ed2c017ec
treedb8cbda501bce4940dd4410c493bd28577e565f4
parentec3f28df02b6a59be3cfd226e5f653221c10f7ee
Fix a potential illegal memory access when creating an srec format file.

PR 26774
* srec.c (srec_write_symbols): Do not emit symbols in sections
that have been removed from the output.
bfd/ChangeLog
bfd/srec.c