This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Re: readelf broken by DWARF-5 patch


Hello Alan,

On Thu, 02 Mar 2017 03:50:05 +0100, Alan Modra wrote:
> Jan, your DWARF-5 patch broke readelf, because new entries were added
> to dwarf.c:debug_displays without making corresponding changes to
> dwarf.h:dwarf_section_display_enum.  Please fix.

I am sorry about that.  Checked in as obvious.


Jan
--- Begin Message ---
binutils/
2017-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists.
---
 binutils/ChangeLog | 4 ++++
 binutils/dwarf.h   | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 3556aef..24c74a1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2017-03-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* dwarf.h (enum dwarf_section_display_enum): Add loclists and rnglists.
+
 2017-03-01  Nick Clifton  <nickc@redhat.com>
 
 	* readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index cf9f331..939c2e8 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -89,9 +89,11 @@ enum dwarf_section_display_enum
   str,
   line_str,
   loc,
+  loclists,
   pubtypes,
   gnu_pubtypes,
   ranges,
+  rnglists,
   static_func,
   static_vars,
   types,
-- 
2.9.3

--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]