]
[--ww[[lliiaapprrmmffFFssooRR]]|
----ddeebbuugg--dduummpp[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]]
[--II|--hhiissttooggrraamm]
[--vv|----vveerrssiioonn]
[--WW|----wwiiddee]
[--HH|----hheellpp]
_e_l_f_f_i_l_e...
DESCRIPTION
rreeaaddeellff displays information about one or more ELF format object
files. The options control what particular information to display.
_e_l_f_f_i_l_e... are the object files to be examined. 32-bit and
64-bit ELF files are supported, as are archives containing ELF files.
This program performs a similar function to oobbjjdduummpp but it
goes into more detail and it exists independently of the BFD
library, so if there is a bug in BFD then readelf will not be
affected.
OPTIONS
The long and short forms of options, shown here as alternatives, are
equivalent. At least one option besides --vv or --HH must be
given.
-
--aa
-
-
----aallll
Equivalent to specifiying ----ffiillee--hheeaaddeerr,
-
----pprrooggrraamm--hheeaaddeerrss, ----sseeccttiioonnss, ----ssyymmbboollss,
----rreellooccss, ----ddyynnaammiicc, ----nnootteess and
----vveerrssiioonn--iinnffoo.
-
--hh
-
-
----ffiillee--hheeaaddeerr
Displays the information contained in the ELF header at the start of the
-
file.
-
--ll
-
-
----pprrooggrraamm--hheeaaddeerrss
-
-
----sseeggmmeennttss
Displays the information contained in the file's segment headers, if it
-
has any.
-
--SS
-
-
----sseeccttiioonnss
-
-
----sseeccttiioonn--hheeaaddeerrss
Displays the information contained in the file's section headers, if it
-
has any.
-
--gg
-
-
----sseeccttiioonn--ggrroouuppss
Displays the information contained in the file's section groups, if it
-
has any.
-
--ss
-
-
----ssyymmbboollss
-
-
----ssyymmss
Displays the entries in symbol table section of the file, if it has one.
-
-
--ee
-
-
----hheeaaddeerrss
Display all the headers in the file. Equivalent to --hh --ll --SS.
-
-
--nn
-
-
----nnootteess
Displays the contents of the NOTE segments and/or sections, if any.
-
-
--rr
-
-
----rreellooccss
Displays the contents of the file's relocation section, if it has one.
-
-
--uu
-
-
----uunnwwiinndd
Displays the contents of the file's unwind section, if it has one. Only
-
the unwind sections for IA64 ELF files are currently supported.
-
--dd
-
-
----ddyynnaammiicc
Displays the contents of the file's dynamic section, if it has one.
-
-
--VV
-
-
----vveerrssiioonn--iinnffoo
Displays the contents of the version sections in the file, it they
-
exist.
-
--AA
-
-
----aarrcchh--ssppeecciiffiicc
Displays architecture-specific information in the file, if there
-
is any.
-
--DD
-
-
----uussee--ddyynnaammiicc
When displaying symbols, this option makes rreeaaddeellff use the
-
symbol table in the file's dynamic section, rather than the one in the
symbols section.
-
--xx <>
-
-
----hheexx--dduummpp==<>
Displays the contents of the indicated section as a hexadecimal dump.
-
-
--ww[[lliiaapprrmmffFFssooRR]]
-
-
----ddeebbuugg--dduummpp[[==lliinnee,,==iinnffoo,,==aabbbbrreevv,,==ppuubbnnaammeess,,==aarraannggeess,,==mmaaccrroo,,==ffrraammeess,,==ffrraammeess--iinntteerrpp,,==ssttrr,,==lloocc,,==RRaannggeess]]
Displays the contents of the debug sections in the file, if any are
-
present. If one of the optional letters or words follows the switch
then only data found in those specific sections will be dumped.
-
--II
-
-
----hhiissttooggrraamm
Display a histogram of bucket list lengths when displaying the contents
-
of the symbol tables.
-
--vv
-
-
----vveerrssiioonn
Display the version number of readelf.
-
-
--WW
-
-
----wwiiddee
Don't break output lines to fit into 80 columns. By default
-
rreeaaddeellff breaks section header and segment listing lines for
64-bit ELF files, so that they fit into 80 columns. This option causes
rreeaaddeellff to print each section header resp. each segment one a
single line, which is far more readable on terminals wider than 80 columns.
-
--HH
-
-
----hheellpp
Display the command line options understood by rreeaaddeellff.
-
SEE ALSO
_o_b_j_d_u_m_p(1), and the Info entries for _b_i_n_u_t_i_l_s.
COPYRIGHT
Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
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 ``GNU Free Documentation License''.