1 .\" Copyright (c) 1991 Free Software Foundation
2 .\" See section COPYING for conditions for redistribution
3 .TH objdump 1 "5 November 1991" "cygnus support" "GNU Development Tools"
11 objdump \- display information from object files.
18 .RB "[\|" \-a | \-\-archive\-headers "\|]"
21 .RB " | " "\-\-target="\c
24 .RB "[\|" \-d | \-\-disassemble "\|]"
25 .RB "[\|" \-f | \-\-file\-headers "\|]"
26 .RB "[\|" \-h | \-\-section\-headers
27 .RB "| " \-\-headers "\|]"
28 .RB "[\|" \-i | \-\-info "\|]"
31 .RB " | " "\-\-section="\c
34 .RB "[\|" \-l | \-\-line\-numbers "\|]"
37 .RB " | " "\-\-architecture="\c
40 .RB "[\|" \-r | \-\-reloc "\|]"
41 .RB "[\|" \-s | \-\-full\-contents "\|]"
42 .RB "[\|" \-\-stabs "\|]"
43 .RB "[\|" \-t | \-\-syms "\|]"
44 .RB "[\|" \-x | \-\-all\-headers "\|]"
45 .RB "[\|" \-\-version "\|]"
46 .RB "[\|" \-\-help "\|]"
54 \& displays information about one or more object files.
55 The options control what particular information to display. This
56 information is mostly useful to programmers who are working on the
57 compilation tools, as opposed to programmers who just want their
58 program to compile and work.
61 are the object files to be examined. When you specify archives,
64 \& shows information on each of the member object files.
67 Where long and short forms of an option are shown together, they are
68 equivalent. At least one option besides
70 (\fB\-\-line\-numbers\fP) must be given.
75 .B \-\-archive\-headers
78 \& are archives, display the archive
79 header information (in a format similar to `\|\c
82 information you could list with `\|\c
87 the object file format of each archive member.
90 .BI "\-b " "bfdname"\c
92 .BI "\-\-target=" "bfdname"\c
94 Specify the object-code format for the object files to be
97 \&. This may not be necessary; \c
100 automatically recognize many formats. For example,
103 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
107 display summary information from the section headers (`\|\c
112 \|', which is explicitly identified (`\|\c
115 file in the format produced by Oasys compilers. You can list the
116 formats available with the `\|\c
124 Display the assembler mnemonics for the machine
133 Display summary information from the overall header of
141 .B \-\-section\-headers
144 Display summary information from the section headers of the
149 Print a summary of the options to
157 Display a list showing all architectures and object formats available
158 for specification with \c
167 .BI "\-\-section=" "name"\c
169 Display information only for section \c
177 Label the display (using debugging information) with the filename
178 and source line numbers corresponding to the object code shown.
179 Only useful with \fB\-d\fP.
182 .BI "\-m " "machine"\c
184 .BI "\-\-architecture=" "machine"\c
186 Specify the object files \c
188 \& are for architecture
191 \&. You can list available architectures using the `\|\c
200 Print the relocation entries of the file.
205 .B \-\-full\-contents
206 Display the full contents of any sections requested.
210 Display the contents of the .stab, .stab.index, and .stab.excl
211 sections from an ELF file. This is only useful on systems (such as
212 Solaris 2.0) in which .stab debugging symbol-table entries are carried
213 in an ELF section. In most other file formats, debugging symbol-table
214 entries are interleaved with linkage symbols, and are visible in the
221 Symbol Table. Print the symbol table entries of the file.
222 This is similar to the information provided by the `\|\c
228 Print the version number of
236 Display all available header information, including the symbol table and
237 relocation entries. Using `\|\c
239 \|' is equivalent to specifying all of
241 .B \-a \-f \-h \-r \-t\c
245 .RB "`\|" binutils "\|'"
251 The GNU Binary Utilities\c
252 \&, Roland H. Pesch (October 1991);
256 Copyright (c) 1991 Free Software Foundation, Inc.
258 Permission is granted to make and distribute verbatim copies of
259 this manual provided the copyright notice and this permission notice
260 are preserved on all copies.
262 Permission is granted to copy and distribute modified versions of this
263 manual under the conditions for verbatim copying, provided that the
264 entire resulting derived work is distributed under the terms of a
265 permission notice identical to this one.
267 Permission is granted to copy and distribute translations of this
268 manual into another language, under the above conditions for modified
269 versions, except that this permission notice may be included in
270 translations approved by the Free Software Foundation instead of in
271 the original English.