Blame doc/readelf.1

Packit 032894
.\" Modified from readelf.1 man page
Packit 032894
.\" Tue 2019-Aug 20 by Ben Woodard <woodard@redhat.com>
Packit 032894
.\" Contact elfutils-devel@sourceware.org to correct errors or typos.
Packit 032894
.\"
Packit 032894
.\" Standard preamble:
Packit 032894
.\" ========================================================================
Packit 032894
.de Sp \" Vertical space (when we can't use .PP)
Packit 032894
.if t .sp .5v
Packit 032894
.if n .sp
Packit 032894
..
Packit 032894
.de Vb \" Begin verbatim text
Packit 032894
.ft CW
Packit 032894
.nf
Packit 032894
.ne \\$1q
Packit 032894
..
Packit 032894
.de Ve \" End verbatim text
Packit 032894
.ft R
Packit 032894
.fi
Packit 032894
..
Packit 032894
.\" Set up some character translations and predefined strings.  \*(-- will
Packit 032894
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
Packit 032894
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
Packit 032894
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
Packit 032894
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
Packit 032894
.\" nothing in troff, for use with C<>.
Packit 032894
.tr \(*W-
Packit 032894
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
Packit 032894
.ie n \{\
Packit 032894
.    ds -- \(*W-
Packit 032894
.    ds PI pi
Packit 032894
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
Packit 032894
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
Packit 032894
.    ds L" ""
Packit 032894
.    ds R" ""
Packit 032894
.    ds C` ""
Packit 032894
.    ds C' ""
Packit 032894
'br\}
Packit 032894
.el\{\
Packit 032894
.    ds -- \|\(em\|
Packit 032894
.    ds PI \(*p
Packit 032894
.    ds L" ``
Packit 032894
.    ds R" ''
Packit 032894
.    ds C`
Packit 032894
.    ds C'
Packit 032894
'br\}
Packit 032894
.\"
Packit 032894
.\" Escape single quotes in literal strings from groff's Unicode transform.
Packit 032894
.ie \n(.g .ds Aq \(aq
Packit 032894
.el       .ds Aq '
Packit 032894
.\"
Packit 032894
.\" If the F register is >0, we'll generate index entries on stderr for
Packit 032894
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
Packit 032894
.\" entries marked with X<> in POD.  Of course, you'll have to process the
Packit 032894
.\" output yourself in some meaningful fashion.
Packit 032894
.\"
Packit 032894
.\" Avoid warning from groff about undefined register 'F'.
Packit 032894
.de IX
Packit 032894
..
Packit 032894
.if !\nF .nr F 0
Packit 032894
.if \nF>0 \{\
Packit 032894
.    de IX
Packit 032894
.    tm Index:\\$1\t\\n%\t"\\$2"
Packit 032894
..
Packit 032894
.    if !\nF==2 \{\
Packit 032894
.        nr % 0
Packit 032894
.        nr F 2
Packit 032894
.    \}
Packit 032894
.\}
Packit 032894
.\"
Packit 032894
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Packit 032894
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
Packit 032894
.    \" fudge factors for nroff and troff
Packit 032894
.if n \{\
Packit 032894
.    ds #H 0
Packit 032894
.    ds #V .8m
Packit 032894
.    ds #F .3m
Packit 032894
.    ds #[ \f1
Packit 032894
.    ds #] \fP
Packit 032894
.\}
Packit 032894
.if t \{\
Packit 032894
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
Packit 032894
.    ds #V .6m
Packit 032894
.    ds #F 0
Packit 032894
.    ds #[ \&
Packit 032894
.    ds #] \&
Packit 032894
.\}
Packit 032894
.    \" simple accents for nroff and troff
Packit 032894
.if n \{\
Packit 032894
.    ds ' \&
Packit 032894
.    ds ` \&
Packit 032894
.    ds ^ \&
Packit 032894
.    ds , \&
Packit 032894
.    ds ~ ~
Packit 032894
.    ds /
Packit 032894
.\}
Packit 032894
.if t \{\
Packit 032894
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
Packit 032894
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
Packit 032894
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
Packit 032894
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
Packit 032894
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
Packit 032894
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
Packit 032894
.\}
Packit 032894
.    \" troff and (daisy-wheel) nroff accents
Packit 032894
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
Packit 032894
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
Packit 032894
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
Packit 032894
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
Packit 032894
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
Packit 032894
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
Packit 032894
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
Packit 032894
.ds ae a\h'-(\w'a'u*4/10)'e
Packit 032894
.ds Ae A\h'-(\w'A'u*4/10)'E
Packit 032894
.    \" corrections for vroff
Packit 032894
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
Packit 032894
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
Packit 032894
.    \" for low resolution devices (crt and lpr)
Packit 032894
.if \n(.H>23 .if \n(.V>19 \
Packit 032894
\{\
Packit 032894
.    ds : e
Packit 032894
.    ds 8 ss
Packit 032894
.    ds o a
Packit 032894
.    ds d- d\h'-1'\(ga
Packit 032894
.    ds D- D\h'-1'\(hy
Packit 032894
.    ds th \o'bp'
Packit 032894
.    ds Th \o'LP'
Packit 032894
.    ds ae ae
Packit 032894
.    ds Ae AE
Packit 032894
.\}
Packit 032894
.rm #[ #] #H #V #F C
Packit 032894
.\" ========================================================================
Packit 032894
.\"
Packit 032894
.IX Title "EU-READELF 1"
Packit 032894
.TH EU-READELF 1 "2019-Aug-20" "elfutils" 
Packit 032894
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
Packit 032894
.\" way too many mistakes in technical documents.
Packit 032894
.if n .ad l
Packit 032894
.nh
Packit 032894
.SH "NAME"
Packit 032894
eu-readelf \- Displays information about ELF files.
Packit 032894
.SH "SYNOPSIS"
Packit 032894
.IX Header "SYNOPSIS"
Packit 032894
eu-readelf [\fB\-a\fR|\fB\-\-all\fR]
Packit 032894
        [\fB\-h\fR|\fB\-\-file\-header\fR]
Packit 032894
        [\fB\-l\fR|\fB\-\-program\-headers\fR|\fB\-\-segments\fR]
Packit 032894
        [\fB\-S\fR|\fB\-\-section\-headers\fR|\fB\-\-sections\fR]
Packit 032894
        [\fB\-g\fR|\fB\-\-section\-groups\fR]
Packit 032894
        [\fB\-e\fR|\fB\-\-exception\fR]
Packit 032894
        [\fB\-s\fR|\fB\-\-symbols\fR] [section name] ]
Packit 032894
        [\fB\-\-dyn-syms\fR]
Packit 032894
        [\fB\-n\fR|\fB\-\-notes\fR [section name] ]
Packit 032894
        [\fB\-r\fR|\fB\-\-relocs\fR]
Packit 032894
        [\fB\-d\fR|\fB\-\-dynamic\fR]
Packit 032894
        [\fB\-V\fR|\fB\-\-version\-info\fR]
Packit 032894
        [\fB\-A\fR|\fB\-\-arch\-specific\fR]
Packit 032894
        [\fB\-x\fR <number or name>|\fB\-\-hex\-dump=\fR<number or name>]
Packit 032894
        [\fB\-p\fR <number or name>|\fB\-\-string\-dump=\fR<number or name>]
Packit 032894
        [\fB\-z\fR|\fB\-\-decompress\fR]
Packit 032894
        [\fB\-c\fR|\fB\-\-archive\-index\fR]
Packit 032894
        [\fB\-\-dwarf\-skeleton\fR <file> ]
Packit 032894
        [\fB\-\-elf\-section\fR [section] ]
Packit 032894
        [\fB\-w\fR|
Packit 032894
         \fB\-\-debug\-dump\fR[=line,=decodedline,=info,=info+,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=ranges,=gdb_index,=addr]]
Packit 032894
        [\fB\-I\fR|\fB\-\-histogram\fR]
Packit 032894
        [\fB\-v\fR|\fB\-\-version\fR]
Packit 032894
        [\fB\-W\fR|\fB\-\-wide\fR]
Packit 032894
        [\fB\-H\fR|\fB\-\-help\fR]
Packit 032894
        \fIelffile\fR...
Packit 032894
.SH "DESCRIPTION"
Packit 032894
.IX Header "DESCRIPTION"
Packit 032894
\&\fBeu-readelf\fR displays information about one or more \s-1ELF\s0 format object
Packit 032894
files.  The options control what particular information to display.
Packit 032894
.PP
Packit 032894
\&\fIelffile\fR... are the object files to be examined.  32\-bit and
Packit 032894
64\-bit \s-1ELF\s0 files are supported, as are archives containing \s-1ELF\s0 files.
Packit 032894
.PP
Packit 032894
This program performs a similar function to \fBobjdump\fR but it
Packit 032894
goes into more detail and it exists independently of the \s-1BFD\s0
Packit 032894
library, so if there is a bug in \s-1BFD\s0 then readelf will not be
Packit 032894
affected.
Packit 032894
.SH "OPTIONS"
Packit 032894
.IX Header "OPTIONS"
Packit 032894
The long and short forms of options, shown here as alternatives, are
Packit 032894
equivalent.  At least one option in addition to \fB\-v\fR or \fB\-H\fR must be
Packit 032894
given.
Packit 032894
.SS "ELF Input Selection"
Packit 032894
.IX Subsection "ELF Input Selection"
Packit 032894
.IP "\fB\-\-dwarf\-skeleton <file>\fR" 4
Packit 032894
.IX Item "--dwarf-skeleton <file>"
Packit 032894
.PD
Packit 032894
Used with -w to find the skeleton Compile Units in FILE associated
Packit 032894
with the Split Compile units in a .dwo input file.
Packit 032894
.IP "\fB\-\-elf\-section [section]\fR" 4
Packit 032894
.IX Item "--elf-section [section]"
Packit 032894
.PD
Packit 032894
Use the named SECTION (default .gnu_debugdata) as (compressed) ELF input data
Packit 032894
.SS "ELF Output Selection"
Packit 032894
.IX Subsection "ELF Output Selection"
Packit 032894
.IP "\fB\-a\fR" 4
Packit 032894
.IX Item "-a"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-all\fR" 4
Packit 032894
.IX Item "--all"
Packit 032894
.PD
Packit 032894
Equivalent to specifying \fB\-\-file\-header\fR,
Packit 032894
\&\fB\-\-program\-headers\fR, \fB\-\-sections\fR, \fB\-\-symbols\fR,
Packit 032894
\&\fB\-\-relocs\fR, \fB\-\-dynamic\fR, \fB\-\-notes\fR,
Packit 032894
\&\fB\-\-version\-info\fR, \fB\-\-arch\-specific\fR,
Packit 032894
\&\fB\-\-section\-groups\fR and \fB\-\-histogram\fR.
Packit 032894
.Sp
Packit 032894
.IP "\fB\-h\fR" 4
Packit 032894
.IX Item "-h"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-file\-header\fR" 4
Packit 032894
.IX Item "--file-header"
Packit 032894
.PD
Packit 032894
Displays the information contained in the \s-1ELF\s0 header at the start of the
Packit 032894
file.
Packit 032894
.IP "\fB\-l\fR" 4
Packit 032894
.IX Item "-l"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-program\-headers\fR" 4
Packit 032894
.IX Item "--program-headers"
Packit 032894
.IP "\fB\-\-segments\fR" 4
Packit 032894
.IX Item "--segments"
Packit 032894
.PD
Packit 032894
Displays the information contained in the file's segment headers, if it
Packit 032894
has any.
Packit 032894
.IP "\fB\-S\fR" 4
Packit 032894
.IX Item "-S"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-sections\fR" 4
Packit 032894
.IX Item "--sections"
Packit 032894
.IP "\fB\-\-section\-headers\fR" 4
Packit 032894
.IX Item "--section-headers"
Packit 032894
.PD
Packit 032894
Displays the information contained in the file's section headers, if it
Packit 032894
has any.
Packit 032894
.IP "\fB\-g\fR" 4
Packit 032894
.IX Item "-g"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-section\-groups\fR" 4
Packit 032894
.IX Item "--section-groups"
Packit 032894
.PD
Packit 032894
Displays the information contained in the file's section groups, if it
Packit 032894
has any.
Packit 032894
.IP "\fB\-I\fR" 4
Packit 032894
.IX Item "-I"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-histogram\fR" 4
Packit 032894
.IX Item "--histogram"
Packit 032894
.PD
Packit 032894
Display a histogram of bucket list lengths when displaying the contents
Packit 032894
of the symbol tables.
Packit 032894
.IP "\fB\-s\fR" 4
Packit 032894
.IX Item "-s"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-symbols\fR [section name]" 4
Packit 032894
.IX Item "--symbols"
Packit 032894
.PD
Packit 032894
Displays the entries in symbol table section of the file, if it has one.
Packit 032894
If a symbol has version information associated with it then this is
Packit 032894
displayed as well.  The version string is displayed as a suffix to the
Packit 032894
symbol name, preceeded by an @ character.  For example
Packit 032894
\&\fBfoo@VER_1\fR.  If the version is the default version to be used
Packit 032894
when resolving unversioned references to the symbol then it is
Packit 032894
displayed as a suffix preceeded by two @ characters.  For example
Packit 032894
\&\fBfoo@@VER_2\fR.
Packit 032894
.IP "\fB\-\-dyn-syms\fR" 4
Packit 032894
.IX Item "--dyn-syms"
Packit 032894
.PD
Packit 032894
Display (only) the dynamic symbol table.
Packit 032894
.IP "\fB\-e\fR" 4
Packit 032894
.IX Item "-e"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-exception\fR" 4
Packit 032894
.IX Item "--exception"
Packit 032894
.PD
Packit 032894
Display sections for exception handling.
Packit 032894
.IP "\fB\-n\fR" 4
Packit 032894
.IX Item "-n [section name]"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-notes [section name]\fR" 4
Packit 032894
.IX Item "--notes"
Packit 032894
.PD
Packit 032894
Displays the contents of the \s-1NOTE\s0 segments and/or sections, if any.
Packit 032894
.IP "\fB\-r\fR" 4
Packit 032894
.IX Item "-r"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-relocs\fR" 4
Packit 032894
.IX Item "--relocs"
Packit 032894
.PD
Packit 032894
Displays the contents of the file's relocation section, if it has one.
Packit 032894
.IP "\fB\-d\fR" 4
Packit 032894
.IX Item "-d"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-dynamic\fR" 4
Packit 032894
.IX Item "--dynamic"
Packit 032894
.PD
Packit 032894
Displays the contents of the file's dynamic section, if it has one.
Packit 032894
.IP "\fB\-V\fR" 4
Packit 032894
.IX Item "-V"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-version\-info\fR" 4
Packit 032894
.IX Item "--version-info"
Packit 032894
.PD
Packit 032894
Displays the contents of the version sections in the file, it they
Packit 032894
exist.
Packit 032894
.IP "\fB\-A\fR" 4
Packit 032894
.IX Item "-A"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-arch\-specific\fR" 4
Packit 032894
.IX Item "--arch-specific"
Packit 032894
.PD
Packit 032894
Displays architecture-specific information in the file, if there
Packit 032894
is any.
Packit 032894
.SS "Additional output selection"
Packit 032894
.IX Subsection "Additional output selection"
Packit 032894
.IP "\fB\-x <name>\fR" 4
Packit 032894
.IX Item "-x <name>"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-hex\-dump=<name>\fR" 4
Packit 032894
.IX Item "--hex-dump=<name>"
Packit 032894
.PD
Packit 032894
Displays the contents of the indicated section name as a hexadecimal bytes.
Packit 032894
.IP "\fB\-w\fR" 4
Packit 032894
.IX Item "-w"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-debug\-dump[=decodedline,=info,=info+,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=ranges,=gdb_index,=addr]\fR" 4
Packit 032894
.IX Item "--debug-dump[=line,=decodedline,=info,=info+,=abbrev,=pubnames,=aranges,=macro,=frames,=str,=loc,=ranges,=gdb_index,=addr]"
Packit 032894
.PD
Packit 032894
Displays the contents of the \s-1DWARF\s0 debug sections in the file, if any
Packit 032894
are present.  Compressed debug sections are automatically decompressed
Packit 032894
(temporarily) before they are displayed.  If one or more of the
Packit 032894
optional letters or words follows the switch then only those type(s)
Packit 032894
of data will be dumped.  The letters and words refer to the following
Packit 032894
information:
Packit 032894
.RS 4
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=abbrev""" 4
Packit 032894
.el .IP "\f(CW=abbrev\fR" 4
Packit 032894
.IX Item "=abbrev"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_abbrev\fR section.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=addr""" 4
Packit 032894
.el .IP "\f(CW=addr\fR" 4
Packit 032894
.IX Item "=addr"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_addr\fR section.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=frames""" 4
Packit 032894
.el .IP "\f(CW=frames\fR" 4
Packit 032894
.IX Item "=frames"
Packit 032894
.PD
Packit 032894
Display the raw contents of a \fB.debug_frame\fR section.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=gdb_index""" 4
Packit 032894
.el .IP "\f(CW=gdb_index\fR" 4
Packit 032894
.IX Item "=gdb_index"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.gdb_index\fR and/or
Packit 032894
\&\fB.debug_names\fR sections.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=info""" 4
Packit 032894
.el .IP "\f(CW=info\fR" 4
Packit 032894
.IX Item "=info"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_info\fR section.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=info+""" 4
Packit 032894
.el .IP "\f(CW=info+\fR" 4
Packit 032894
.IX Item "=info+"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_info\fR section, plus any skeleton
Packit 032894
unit will be immediately followed by the corresponding split compile unit
Packit 032894
(from the .dwo file).  To show the difference between "regular" CUs and
Packit 032894
split CUs print offsets and references between { and } instead of [ and ].
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=decodedline""" 4
Packit 032894
.el .IP "\f(CW=decodedline\fR" 4
Packit 032894
.IX Item "=decodedline"
Packit 032894
.PD
Packit 032894
Displays the interpreted contents of the \fB.debug_line\fR section.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=macro""" 4
Packit 032894
.el .IP "\f(CW=macro\fR" 4
Packit 032894
.IX Item "=macro"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_macro\fR and/or
Packit 032894
\&\fB.debug_macinfo\fR sections.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=loc""" 4
Packit 032894
.el .IP "\f(CW=loc\fR" 4
Packit 032894
.IX Item "=loc"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_loc\fR and/or
Packit 032894
\&\fB.debug_loclists\fR sections.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=pubnames""" 4
Packit 032894
.el .IP "\f(CW=pubnames\fR" 4
Packit 032894
.IX Item "=pubnames"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_pubnames\fR and/or
Packit 032894
\&\fB.debug_gnu_pubnames\fR sections.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=aranges""" 4
Packit 032894
.el .IP "\f(CW=aranges\fR" 4
Packit 032894
.IX Item "=aranges"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_aranges\fR section.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=ranges""" 4
Packit 032894
.el .IP "\f(CW=ranges\fR" 4
Packit 032894
.IX Item "=ranges"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_ranges\fR and/or
Packit 032894
\&\fB.debug_rnglists\fR sections.
Packit 032894
.PD 0
Packit 032894
.ie n .IP """=str""" 4
Packit 032894
.el .IP "\f(CW=str\fR" 4
Packit 032894
.IX Item "=str"
Packit 032894
.PD
Packit 032894
Displays the contents of the \fB.debug_str\fR, \fB.debug_line_str\fR
Packit 032894
and/or \fB.debug_str_offsets\fR sections.
Packit 032894
.PD 0
Packit 032894
.RS 4
Packit 032894
.Sp
Packit 032894
Note: displaying the contents of \fB.debug_static_funcs\fR,
Packit 032894
\&\fB.debug_static_vars\fR and \fBdebug_weaknames\fR sections is not
Packit 032894
currently supported.
Packit 032894
.RE
Packit 032894
.IP "\fB\-p <number or name>\fR" 4
Packit 032894
.IX Item "-p <number or name>"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-string\-dump=<number or name>\fR" 4
Packit 032894
.IX Item "--string-dump=<number or name>"
Packit 032894
.PD
Packit 032894
Displays the contents of the indicated section as printable strings.
Packit 032894
A number identifies a particular section by index in the section table;
Packit 032894
any other string identifies all sections with that name in the object file.
Packit 032894
.IP "\fB\-c\fR" 4
Packit 032894
.IX Item "-c"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-archive\-index\fR" 4
Packit 032894
.IX Item "--archive-index"
Packit 032894
.PD
Packit 032894
Displays the file symbol index information contained in the header part
Packit 032894
of binary archives.  Performs the same function as the \fBt\fR
Packit 032894
command to \fBar\fR, but without using the \s-1BFD\s0 library.
Packit 032894
.SS "Output control"
Packit 032894
.IX Subsection "Output control"
Packit 032894
.IP "\fB\-z\fR" 4
Packit 032894
.IX Item "-z"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-decompress\fR" 4
Packit 032894
.IX Item "--decompress"
Packit 032894
.PD
Packit 032894
Requests that the section(s) being dumped by \fBx\fR, \fBR\fR or
Packit 032894
\&\fBp\fR options are decompressed before being displayed.  If the
Packit 032894
section(s) are not compressed then they are displayed as is.
Packit 032894
.IP "\fB\-v\fR" 4
Packit 032894
.IX Item "-v"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-version\fR" 4
Packit 032894
.IX Item "--version"
Packit 032894
.PD
Packit 032894
Display the version number of eu-readelf.
Packit 032894
.IP "\fB\-W\fR" 4
Packit 032894
.IX Item "-W"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-wide\fR" 4
Packit 032894
.IX Item "--wide"
Packit 032894
.PD
Packit 032894
Ignored for compatibility (lines always wide).
Packit 032894
.IP "\fB\-H\fR" 4
Packit 032894
.IX Item "-H"
Packit 032894
.PD 0
Packit 032894
.IP "\fB\-\-help\fR" 4
Packit 032894
.IX Item "--help"
Packit 032894
.PD
Packit 032894
Display the command line options understood by \fBeu-readelf\fR.
Packit 032894
.IP "\fB@\fR\fIfile\fR" 4
Packit 032894
.IX Item "@file"
Packit 032894
Read command-line options from \fIfile\fR.  The options read are
Packit 032894
inserted in place of the original @\fIfile\fR option.  If \fIfile\fR
Packit 032894
does not exist, or cannot be read, then the option will be treated
Packit 032894
literally, and not removed.
Packit 032894
.Sp
Packit 032894
Options in \fIfile\fR are separated by whitespace.  A whitespace
Packit 032894
character may be included in an option by surrounding the entire
Packit 032894
option in either single or double quotes.  Any character (including a
Packit 032894
backslash) may be included by prefixing the character to be included
Packit 032894
with a backslash.  The \fIfile\fR may itself contain additional
Packit 032894
@\fIfile\fR options; any such options will be processed recursively.
Packit 032894
.SH "SEE ALSO"
Packit 032894
.IX Header "SEE ALSO"
Packit 032894
\&\fIobjdump\fR\|(1), \fIreadelf\fR\|(1) and the Info entries for
Packit 032894
\fIbinutils\fR.
Packit 032894
.SH "COPYRIGHT"
Packit 032894
.IX Header "COPYRIGHT"
Packit 032894
Copyright (c) 1991\-2018 Free Software Foundation, Inc.
Packit 032894
Packit 032894
Copyright (c) 2019 Red Hat Inc.
Packit 032894
.PP
Packit 032894
Permission is granted to copy, distribute and/or modify this document
Packit 032894
under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3
Packit 032894
or any later version published by the Free Software Foundation;
Packit 032894
with no Invariant Sections, with no Front-Cover Texts, and with no
Packit 032894
Back-Cover Texts.  A copy of the license is included in the
Packit 032894
section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".