aboutsummaryrefslogtreecommitdiff
path: root/libiberty/pex-unix.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-03-20 11:33:07 +0000
committerNick Clifton <nickc@redhat.com>2020-03-20 11:33:07 +0000
commit5844b4657aa2b9eb52aecc5a6338324032fb6eae (patch)
tree0c7808d2a31d5adb511061c1f9ba9844e0020473 /libiberty/pex-unix.c
parent3d98c46092341c1373d960d0a66ca502d5b7ee7f (diff)
downloadgdb-5844b4657aa2b9eb52aecc5a6338324032fb6eae.zip
gdb-5844b4657aa2b9eb52aecc5a6338324032fb6eae.tar.gz
gdb-5844b4657aa2b9eb52aecc5a6338324032fb6eae.tar.bz2
Fix compile time warnings about the possibility of using uninitialised fields in the Elf_Internal_Chdr structure when building readelf.
* readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT. (process_section_headers): Check the return value from get_compression_header. (dump_section_as_strings): Likewise. (dump_section_as_bytes): Likewise. (load_specific_debug_section): Likewise.
Diffstat (limited to 'libiberty/pex-unix.c')
0 files changed, 0 insertions, 0 deletions