Add initial support for .debug_sup sections.
authorNick Clifton <nickc@redhat.com>
Thu, 25 Feb 2021 17:50:44 +0000 (17:50 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 25 Feb 2021 17:50:44 +0000 (17:50 +0000)
commite38332c286bb96026fadc128170303cc4e935225
tree1a1d7c9ce4a753f7cf5467ee13dc27e34e62a3d8
parentd4ff3cbfdb361a1c3a16425c084cdd2ff8535cfd
Add initial support for .debug_sup sections.

* dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
forms.
(read_and_display_attr_value): Handle sup forms.
(display_debug_sup): New function.  Displays the contents of a
.debug_sup section.
(load_debug_sup_file): New function.  Loads the contents of a file
referenced by a .debug_sup section.
(check_for_and_load_links): Call load_debug_sup_file.
(debug_displays): Add entry for .debug_sup.
* dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
* readelf.c (process_section_headers): Add support for debug_sup.
* doc/debug.options.texi: Note that the =links option will display
the contents of .debug_sup sections.
* NEWS: Mention the new support.
binutils/ChangeLog
binutils/NEWS
binutils/doc/debug.options.texi
binutils/dwarf.c
binutils/dwarf.h
binutils/readelf.c