diff options
author | Nick Clifton <nickc@redhat.com> | 2017-07-25 09:35:36 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-07-25 09:37:34 +0100 |
commit | c6b78c965a96fb152fbd58926edccb5dee2707a5 (patch) | |
tree | da79ee157fd070c1a2484338aae81e7a8d85390c /bfd/elf.c | |
parent | d4aaa2a0744a28143f0b923802b6d1fa8db15887 (diff) | |
download | gdb-c6b78c965a96fb152fbd58926edccb5dee2707a5.zip gdb-c6b78c965a96fb152fbd58926edccb5dee2707a5.tar.gz gdb-c6b78c965a96fb152fbd58926edccb5dee2707a5.tar.bz2 |
Stop readelf from returning an error status if asked to dump an emoty section.
PR 21820
* readelf.c (dump_section_as_strings): Do not fail if the section
was empty.
(dump_section_as_bytes): Likewise.
Diffstat (limited to 'bfd/elf.c')
0 files changed, 0 insertions, 0 deletions