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 "[\|" \-D | \-\-disassemble-all "\|]"
26 .RB "[\|" \-f | \-\-file\-headers "\|]"
27 .RB "[\|" \-h | \-\-section\-headers
28 .RB "| " \-\-headers "\|]"
29 .RB "[\|" \-i | \-\-info "\|]"
32 .RB " | " "\-\-section="\c
35 .RB "[\|" \-l | \-\-line\-numbers "\|]"
38 .RB " | " "\-\-architecture="\c
41 .RB "[\|" \-r | \-\-reloc "\|]"
42 .RB "[\|" \-R | \-\-dynamic\-reloc "\|]"
43 .RB "[\|" \-s | \-\-full\-contents "\|]"
44 .RB "[\|" \-S | \-\-source "\|]"
45 .RB "[\|" \-\-stabs "\|]"
46 .RB "[\|" \-t | \-\-syms "\|]"
47 .RB "[\|" \-T | \-\-dynamic\-syms "\|]"
48 .RB "[\|" \-x | \-\-all\-headers "\|]"
49 .RB "[\|" \-\-version "\|]"
50 .RB "[\|" \-\-help "\|]"
58 \& displays information about one or more object files.
59 The options control what particular information to display. This
60 information is mostly useful to programmers who are working on the
61 compilation tools, as opposed to programmers who just want their
62 program to compile and work.
65 are the object files to be examined. When you specify archives,
68 \& shows information on each of the member object files.
71 Where long and short forms of an option are shown together, they are
72 equivalent. At least one option besides
74 (\fB\-\-line\-numbers\fP) must be given.
79 .B \-\-archive\-headers
82 \& are archives, display the archive
83 header information (in a format similar to `\|\c
86 information you could list with `\|\c
91 the object file format of each archive member.
94 .BI "\-b " "bfdname"\c
96 .BI "\-\-target=" "bfdname"\c
98 Specify the object-code format for the object files to be
101 \&. This may not be necessary; \c
104 automatically recognize many formats. For example,
107 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
111 display summary information from the section headers (`\|\c
116 \|', which is explicitly identified (`\|\c
119 file in the format produced by Oasys compilers. You can list the
120 formats available with the `\|\c
128 Display the assembler mnemonics for the machine
132 This option only disassembles those sections which are
133 expected to contain instructions.
138 .B \-\-disassemble-all
139 Like \fB\-d\fP, but disassemble the contents of all sections, not just
140 those expected to contain instructions.
146 Display summary information from the overall header of
154 .B \-\-section\-headers
157 Display summary information from the section headers of the
162 Print a summary of the options to
170 Display a list showing all architectures and object formats available
171 for specification with \c
180 .BI "\-\-section=" "name"\c
182 Display information only for section \c
190 Label the display (using debugging information) with the filename
191 and source line numbers corresponding to the object code shown.
192 Only useful with \fB\-d\fP or \fB\-D\fP.
195 .BI "\-m " "machine"\c
197 .BI "\-\-architecture=" "machine"\c
199 Specify the object files \c
201 \& are for architecture
204 \&. You can list available architectures using the `\|\c
213 Print the relocation entries of the file. If used with \fB\-d\fP or
214 \fB\-d\fP, the relocations are printed interspersed with the
220 .B \-\-dynamic\-reloc
221 Print the dynamic relocation entries of the file. This is only
222 meaningful for dynamic objects, such as certain types of shared
228 .B \-\-full\-contents
229 Display the full contents of any sections requested.
235 Display source code intermixed with disassembly, if possible. Implies
240 Display the contents of the .stab, .stab.index, and .stab.excl
241 sections from an ELF file. This is only useful on systems (such as
242 Solaris 2.0) in which .stab debugging symbol-table entries are carried
243 in an ELF section. In most other file formats, debugging symbol-table
244 entries are interleaved with linkage symbols, and are visible in the
251 Symbol Table. Print the symbol table entries of the file.
252 This is similar to the information provided by the `\|\c
260 Dynamic Symbol Table. Print the dynamic symbol table entries of the
261 file. This is only meaningful for dynamic objects, such as certain
262 types of shared libraries. This is similar to the information
263 provided by the `\|\c
265 \|' program when given the
271 Print the version number of
279 Display all available header information, including the symbol table and
280 relocation entries. Using `\|\c
282 \|' is equivalent to specifying all of
284 .B \-a \-f \-h \-r \-t\c
288 .RB "`\|" binutils "\|'"
294 The GNU Binary Utilities\c
295 \&, Roland H. Pesch (October 1991);
299 Copyright (c) 1991 Free Software Foundation, Inc.
301 Permission is granted to make and distribute verbatim copies of
302 this manual provided the copyright notice and this permission notice
303 are preserved on all copies.
305 Permission is granted to copy and distribute modified versions of this
306 manual under the conditions for verbatim copying, provided that the
307 entire resulting derived work is distributed under the terms of a
308 permission notice identical to this one.
310 Permission is granted to copy and distribute translations of this
311 manual into another language, under the above conditions for modified
312 versions, except that this permission notice may be included in
313 translations approved by the Free Software Foundation instead of in
314 the original English.