diff options
author | Nick Clifton <nickc@redhat.com> | 2020-10-19 15:27:58 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-10-19 15:27:58 +0100 |
commit | 0f03783c8e9f14d02749081815949493bb28d4e3 (patch) | |
tree | 013d8f81c9a7a9daf9802858b06b1f6b791c0124 /binutils/doc/binutils.texi | |
parent | 740341b9be657772538f9cf0b563c49798f47b3c (diff) | |
download | gdb-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 'binutils/doc/binutils.texi')
-rw-r--r-- | binutils/doc/binutils.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index ef2d665..6203fde 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -4707,7 +4707,7 @@ readelf [@option{-a}|@option{--all}] [@option{-t}|@option{--section-details}] [@option{-e}|@option{--headers}] [@option{-s}|@option{--syms}|@option{--symbols}] - [@option{--dyn-syms}] + [@option{--dyn-syms}|@option{--lto-syms}] [@option{--demangle@var{=style}}|@option{--no-demangle}] [@option{--recurse-limit}|@option{--no-recurse-limit}] [@option{-n}|@option{--notes}] @@ -4825,6 +4825,10 @@ Displays the entries in dynamic symbol table section of the file, if it has one. The output format is the same as the format used by the @option{--syms} option. +@item --lto-syms +@cindex LTO symbol table +Displays the contents of any LTO symbol tables in the file. + @item -C @itemx --demangle[=@var{style}] @cindex demangling in nm |