aboutsummaryrefslogtreecommitdiff
path: root/gnulib
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-10-19 15:27:58 +0100
committerNick Clifton <nickc@redhat.com>2020-10-19 15:27:58 +0100
commit0f03783c8e9f14d02749081815949493bb28d4e3 (patch)
tree013d8f81c9a7a9daf9802858b06b1f6b791c0124 /gnulib
parent740341b9be657772538f9cf0b563c49798f47b3c (diff)
downloadgdb-0f03783c8e9f14d02749081815949493bb28d4e3.zip
gdb-0f03783c8e9f14d02749081815949493bb28d4e3.tar.gz
gdb-0f03783c8e9f14d02749081815949493bb28d4e3.tar.bz2
Readelf: Add --lto-syms option to display LTO symbol tables.
* readelf.c (do_lto_syms): New local. (long_option_values): Add OPTION_LTO_SYMS. (options): Add --lto-syms. (usage): Mention the new option. (parse_args): Parse the new option. (get_lto_kind): New function. (get_lto_visibility): New function. (get_lto_sym_type): New function. (display_lto_symtab): New function - displays the contents of an LTo symbol table section. (process_lto_symbol_tables): New functions. Calls dipslay_lto_symtab on any LTO symbol table section. (process_object_file): Call process_lto_symbol_tables. * doc/binutils.texi: Document the new option. * NEWS: Mention the new feature.
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions