aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-05-05 16:16:03 +0100
committerNick Clifton <nickc@redhat.com>2020-05-05 16:16:03 +0100
commit546cb2d85eddba4f56dfbcb0288db68243e3a0fd (patch)
tree35769bf0625cb16c6d8bd6ec734a8648ccfd2bc4 /binutils/ChangeLog
parent7d0bd4874453d781a0e6e998b47422f968907bdb (diff)
downloadgdb-546cb2d85eddba4f56dfbcb0288db68243e3a0fd.zip
gdb-546cb2d85eddba4f56dfbcb0288db68243e3a0fd.tar.gz
gdb-546cb2d85eddba4f56dfbcb0288db68243e3a0fd.tar.bz2
Restore readelf's warnings that describe real problems with the file being examined. Fix bug displaying empty file name tables.
binutils* dwarf.c (do_checks): New global variable. (display_formatted_table): Warn about an unexpected number of columns in the table, if checks are enabled. Do not complain about the lack of data following the number of entries in the table if the table is empty. (display_debug_lines_decoded): Only warn about an unexpected number of columns in a table if checks are enabled. * dwarf.h (do_checks): Add a prototype. * elfcomm.c (error): Remove weak attribute. (warn): Likewise. * readelf.c (do_checks): Delete. (warn): Delete. (process_section_headers): Only warn about empty sections if checks are enabled. gas * dwarf2dbg.c (out_dir_and_file_list): Add comments describing the construction of a DWARF-5 directory name table. * testsuite/gas/elf/pr25917.d: Update expected output.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 8da4097..7d00344 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,20 @@
+2020-05-05 Nick Clifton <nickc@redhat.com>
+
+ * dwarf.c (do_checks): New global variable.
+ (display_formatted_table): Warn about an unexpected number of
+ columns in the table, if checks are enabled. Do not complain
+ about the lack of data following the number of entries in the
+ table if the table is empty.
+ (display_debug_lines_decoded): Only warn about an unexpected
+ number of columns in a table if checks are enabled.
+ * dwarf.h (do_checks): Add a prototype.
+ * elfcomm.c (error): Remove weak attribute.
+ (warn): Likewise.
+ * readelf.c (do_checks): Delete.
+ (warn): Delete.
+ (process_section_headers): Only warn about empty sections if
+ checks are enabled.
+
2020-05-04 Fangrui Song <maskray@google.com>
* objcopy.c (copy_object): Allow empty section.