Add support to readelf for detecting and reporting Solaris specific section types...
authorNick Clifton <nickc@redhat.com>
Wed, 13 Apr 2016 14:37:55 +0000 (15:37 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Apr 2016 14:37:55 +0000 (15:37 +0100)
commitfd85a6a1f6aa4abe1c908b909fdb659ac574e5c7
treea1a3a89c57679833dce63e0875571dae6b3c0abf
parent758c54957d709bdd82b16fa5ce75040abd27daac
Add support to readelf for detecting and reporting Solaris specific section types and symbol visibility.

PR target/19983
* readelf.c (get_solaris_section_type): New function: Returns the
name of Solaris specific section types.
(get_solaris_dynamic_type): New function: Return the name of
Solaris specific dynamic types.
(get_dynamic_type): Use get_solaris_dynamic_type.
(get_section_type_name): Use get_solaris_section_type.
(get_solaris_symbol_visibility): New function: Returns Solaris
specific symbol visibilities.
(print_dynamic_symbol): Use get_solaris_symbol_visibility.
(process_symbol_table): Likewise.
binutils/ChangeLog
binutils/readelf.c