Tue 2019-Aug 20 by Ben Woodard <woodard@redhat.com>
Contact elfutils-devel@sourceware.org to correct errors or typos.
Standard preamble:
========================================================================
..
.... Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.
If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
Avoid warning from groff about undefined register 'F'.
.. . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\}
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================
Title "EU-READELF 1"
way too many mistakes in technical documents.
\fIelffile... are the object files to be examined. 32-bit and 64-bit \s-1ELF\s0 files are supported, as are archives containing \s-1ELF\s0 files.
This program performs a similar function to objdump but it goes into more detail and it exists independently of the \s-1BFD\s0 library, so if there is a bug in \s-1BFD\s0 then readelf will not be affected.
Used with -w to find the skeleton Compile Units in FILE associated with the Split Compile units in a .dwo input file.
Use the named SECTION (default .gnu_debugdata) as (compressed) ELF input data
0
Equivalent to specifying --file-header, \fB--program-headers, --sections, --symbols, \fB--relocs, --dynamic, --notes, \fB--version-info, --arch-specific, \fB--section-groups and --histogram. .Sp
0
Displays the information contained in the \s-1ELF\s0 header at the start of the file.
0
Displays the information contained in the file's segment headers, if it has any.
0
Displays the information contained in the file's section headers, if it has any.
0
Displays the information contained in the file's section groups, if it has any.
0
Display a histogram of bucket list lengths when displaying the contents of the symbol tables.
0
Displays the entries in symbol table section of the file, if it has one. If a symbol has version information associated with it then this is displayed as well. The version string is displayed as a suffix to the symbol name, preceded by an @ character. For example \fBfoo@VER_1. If the version is the default version to be used when resolving unversioned references to the symbol then it is displayed as a suffix preceded by two @ characters. For example \fBfoo@@VER_2.
Display (only) the dynamic symbol table.
0
Display sections for exception handling.
0
Displays the contents of the \s-1NOTE\s0 segments and/or sections, if any.
0
Displays the contents of the file's relocation section, if it has one.
0
Displays the contents of the file's dynamic section, if it has one.
0
Displays the contents of the version sections in the file, it they exist.
0
Displays architecture-specific information in the file, if there is any.
0
Displays the contents of the indicated section name as a hexadecimal bytes.
0
Displays the contents of the \s-1DWARF\s0 debug sections in the file, if any are present. Compressed debug sections are automatically decompressed (temporarily) before they are displayed. If one or more of the optional letters or words follows the switch then only those type(s) of data will be dumped. The letters and words refer to the following information:
0 Item "=abbrev"
Displays the contents of the .debug_abbrev section.
0 Item "=addr"
Displays the contents of the .debug_addr section.
0 Item "=frames"
Display the raw contents of a .debug_frame section.
0 Item "=gdb_index"
Displays the contents of the .gdb_index and/or \fB.debug_names sections.
0 Item "=info"
Displays the contents of the .debug_info section.
0 Item "=info+"
Displays the contents of the .debug_info section, plus any skeleton unit will be immediately followed by the corresponding split compile unit (from the .dwo file). To show the difference between "regular" CUs and split CUs print offsets and references between { and } instead of [ and ].
0 Item "=decodedline"
Displays the interpreted contents of the .debug_line section.
0 Item "=macro"
Displays the contents of the .debug_macro and/or \fB.debug_macinfo sections.
0 Item "=loc"
Displays the contents of the .debug_loc and/or \fB.debug_loclists sections.
0 Item "=pubnames"
Displays the contents of the .debug_pubnames and/or \fB.debug_gnu_pubnames sections.
0 Item "=aranges"
Displays the contents of the .debug_aranges section.
0 Item "=ranges"
Displays the contents of the .debug_ranges and/or \fB.debug_rnglists sections.
0 Item "=str"
Displays the contents of the .debug_str, .debug_line_str and/or .debug_str_offsets sections.
0
.Sp Note: displaying the contents of .debug_static_funcs, \fB.debug_static_vars and debug_weaknames sections is not currently supported.
0
Displays the contents of the indicated section as printable strings. A number identifies a particular section by index in the section table; any other string identifies all sections with that name in the object file.
0
Displays the file symbol index information contained in the header part of binary archives. Performs the same function as the t command to ar, but without using the \s-1BFD\s0 library.
0
Requests that the section(s) being dumped by x, R or \fBp options are decompressed before being displayed. If the section(s) are not compressed then they are displayed as is.
0
Display the version number of eu-readelf.
0
Ignored for compatibility (lines always wide).
0
Display the command line options understood by eu-readelf.
Permission is granted to copy, distribute and/or modify this document under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".