Home | History | Annotate | Download | only in man1
 Automatically generated by Pod::Man v1.37, Pod::Parser v1.32

Standard preamble:
========================================================================

\\$1

.. ..

..
.. 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" '' 'br\}
If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
. de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\}
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.

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 "READELF 1"
READELF 1 "2006-06-23" "binutils-2.17" "GNU Development Tools"
"NAME"
readelf - Displays information about ELF files.
"SYNOPSIS"
Header "SYNOPSIS" readelf [-a|--all] [-h|--file-header] [-l|--program-headers|--segments] [-S|--section-headers|--sections] [-g|--section-groups] [-t|--section-details] [-e|--headers] [-s|--syms|--symbols] [-n|--notes] [-r|--relocs] [-u|--unwind] [-d|--dynamic] [-V|--version-info] [-A|--arch-specific] [-D|--use-dynamic] [-x <number or name>|--hex-dump=<number or name>] [-w[liaprmfFsoR]| --debug-dump[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]] [-I|-histogram] [-v|--version] [-W|--wide] [-H|--help] elffile...
"DESCRIPTION"
Header "DESCRIPTION" \fBreadelf displays information about one or more \s-1ELF\s0 format object files. The options control what particular information to display.

\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.

"OPTIONS"
Header "OPTIONS" The long and short forms of options, shown here as alternatives, are equivalent. At least one option besides -v or -H must be given.
"-a" 4
Item "-a"

0

"--all" 4
Item "--all"

Equivalent to specifiying --file-header, \fB--program-headers, --sections, --symbols, \fB--relocs, --dynamic, --notes and \fB--version-info.

"-h" 4
Item "-h"

0

"--file-header" 4
Item "--file-header"

Displays the information contained in the \s-1ELF\s0 header at the start of the file.

"-l" 4
Item "-l"

0

"--program-headers" 4
Item "--program-headers"
"--segments" 4
Item "--segments"

Displays the information contained in the file's segment headers, if it has any.

"-S" 4
Item "-S"

0

"--sections" 4
Item "--sections"
"--section-headers" 4
Item "--section-headers"

Displays the information contained in the file's section headers, if it has any.

"-g" 4
Item "-g"

0

"--section-groups" 4
Item "--section-groups"

Displays the information contained in the file's section groups, if it has any.

"-t" 4
Item "-t"

0

"--section-details" 4
Item "--section-details"

Displays the detailed section information. Implies -S.

"-s" 4
Item "-s"

0

"--symbols" 4
Item "--symbols"
"--syms" 4
Item "--syms"

Displays the entries in symbol table section of the file, if it has one.

"-e" 4
Item "-e"

0

"--headers" 4
Item "--headers"

Display all the headers in the file. Equivalent to -h -l -S.

"-n" 4
Item "-n"

0

"--notes" 4
Item "--notes"

Displays the contents of the \s-1NOTE\s0 segments and/or sections, if any.

"-r" 4
Item "-r"

0

"--relocs" 4
Item "--relocs"

Displays the contents of the file's relocation section, if it has one.

"-u" 4
Item "-u"

0

"--unwind" 4
Item "--unwind"

Displays the contents of the file's unwind section, if it has one. Only the unwind sections for \s-1IA64\s0 \s-1ELF\s0 files are currently supported.

"-d" 4
Item "-d"

0

"--dynamic" 4
Item "--dynamic"

Displays the contents of the file's dynamic section, if it has one.

"-V" 4
Item "-V"

0

"--version-info" 4
Item "--version-info"

Displays the contents of the version sections in the file, it they exist.

"-A" 4
Item "-A"

0

"--arch-specific" 4
Item "--arch-specific"

Displays architecture-specific information in the file, if there is any.

"-D" 4
Item "-D"

0

"--use-dynamic" 4
Item "--use-dynamic"

When displaying symbols, this option makes readelf use the symbol table in the file's dynamic section, rather than the one in the symbols section.

"-x <number or name>" 4
Item "-x <number or name>"

0

"--hex-dump=<number or name>" 4
Item "--hex-dump=<number or name>"

Displays the contents of the indicated section as a hexadecimal dump. 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.

"-w[liaprmfFsoR]" 4
Item "-w[liaprmfFsoR]"

0

"--debug-dump[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]" 4
Item "--debug-dump[=line,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges]"

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.

"-I" 4
Item "-I"

0

"--histogram" 4
Item "--histogram"

Display a histogram of bucket list lengths when displaying the contents of the symbol tables.

"-v" 4
Item "-v"

0

"--version" 4
Item "--version"

Display the version number of readelf.

"-W" 4
Item "-W"

0

"--wide" 4
Item "--wide"

Don't break output lines to fit into 80 columns. By default \fBreadelf breaks section header and segment listing lines for 64-bit \s-1ELF\s0 files, so that they fit into 80 columns. This option causes \fBreadelf to print each section header resp. each segment one a single line, which is far more readable on terminals wider than 80 columns.

"-H" 4
Item "-H"

0

"--help" 4
Item "--help"

Display the command line options understood by readelf.

"@file" 4
Item "@file" Read command-line options from file. The options read are inserted in place of the original @file option. If file does not exist, or cannot be read, then the option will be treated literally, and not removed. .Sp Options in file are separated by whitespace. A whitespace character may be included in an option by surrounding the entire option in either single or double quotes. Any character (including a backslash) may be included by prefixing the character to be included with a backslash. The file may itself contain additional @file options; any such options will be processed recursively.
"SEE ALSO"
Header "SEE ALSO" \fIobjdump\|(1), and the Info entries for binutils.
"COPYRIGHT"
Header "COPYRIGHT" Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the \s-1GNU\s0 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 \*(L"\s-1GNU\s0 Free Documentation License\*(R".