aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
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 /binutils/ChangeLog
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 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 95761e0..de41d8d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,12 @@
+2020-03-20 Nick Clifton <nickc@redhat.com>
+
+ * 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.
+
2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
* ar.c (main): Update bfd_plugin_set_program_name call.