1 .\" Copyright (c) 1991, 1996 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 "[\|" \-\-debugging "\|]"
25 .RB "[\|" \-d | \-\-disassemble "\|]"
26 .RB "[\|" \-D | \-\-disassemble-all "\|]"
27 .RB "[\|" \-f | \-\-file\-headers "\|]"
28 .RB "[\|" \-h | \-\-section\-headers
29 .RB "| " \-\-headers "\|]"
30 .RB "[\|" \-i | \-\-info "\|]"
33 .RB " | " "\-\-section="\c
36 .RB "[\|" \-l | \-\-line\-numbers "\|]"
39 .RB " | " "\-\-architecture="\c
42 .RB "[\|" \-r | \-\-reloc "\|]"
43 .RB "[\|" \-R | \-\-dynamic\-reloc "\|]"
44 .RB "[\|" \-s | \-\-full\-contents "\|]"
45 .RB "[\|" \-S | \-\-source "\|]"
46 .RB "[\|" \-\-show\-raw\-insn "\|]"
47 .RB "[\|" \-\-stabs "\|]"
48 .RB "[\|" \-t | \-\-syms "\|]"
49 .RB "[\|" \-T | \-\-dynamic\-syms "\|]"
50 .RB "[\|" \-x | \-\-all\-headers "\|]"
51 .RB "[\|" "\-\-start\-address="\c
54 .RB "[\|" "\-\-stop\-address="\c
57 .RB "[\|" \-\-version "\|]"
58 .RB "[\|" \-\-help "\|]"
66 \& displays information about one or more object files.
67 The options control what particular information to display. This
68 information is mostly useful to programmers who are working on the
69 compilation tools, as opposed to programmers who just want their
70 program to compile and work.
73 are the object files to be examined. When you specify archives,
76 \& shows information on each of the member object files.
79 Where long and short forms of an option are shown together, they are
80 equivalent. At least one option besides
82 (\fB\-\-line\-numbers\fP) must be given.
87 .B \-\-archive\-headers
90 \& are archives, display the archive
91 header information (in a format similar to `\|\c
94 information you could list with `\|\c
99 the object file format of each archive member.
102 .BI "\-b " "bfdname"\c
104 .BI "\-\-target=" "bfdname"
105 Specify the object-code format for the object files to be
108 \&. This may not be necessary; \c
111 automatically recognize many formats. For example,
114 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
117 display summary information from the section headers (`\|\c
122 \|', which is explicitly identified (`\|\c
125 file in the format produced by Oasys compilers. You can list the
126 formats available with the `\|\c
132 Display debugging information. This attempts to parse debugging
133 information stored in the file and print it out using a C like syntax.
134 Only certain types of debugging information have been implemented.
140 Display the assembler mnemonics for the machine
144 This option only disassembles those sections which are
145 expected to contain instructions.
150 .B \-\-disassemble-all
151 Like \fB\-d\fP, but disassemble the contents of all sections, not just
152 those expected to contain instructions.
158 Display summary information from the overall header of
166 .B \-\-section\-headers
169 Display summary information from the section headers of the
174 Print a summary of the options to
182 Display a list showing all architectures and object formats available
183 for specification with \c
192 .BI "\-\-section=" "name"
193 Display information only for section \c
201 Label the display (using debugging information) with the filename
202 and source line numbers corresponding to the object code shown.
203 Only useful with \fB\-d\fP or \fB\-D\fP.
206 .BI "\-m " "machine"\c
208 .BI "\-\-architecture=" "machine"
209 Specify the object files \c
211 \& are for architecture
214 \&. You can list available architectures using the `\|\c
223 Print the relocation entries of the file. If used with \fB\-d\fP or
224 \fB\-d\fP, the relocations are printed interspersed with the
230 .B \-\-dynamic\-reloc
231 Print the dynamic relocation entries of the file. This is only
232 meaningful for dynamic objects, such as certain types of shared
238 .B \-\-full\-contents
239 Display the full contents of any sections requested.
245 Display source code intermixed with disassembly, if possible. Implies
250 When disassembling instructions, print the instruction in hex as well as
251 in symbolic form. Not all targets handle this correctly yet.
255 Display the contents of the .stab, .stab.index, and .stab.excl
256 sections from an ELF file. This is only useful on systems (such as
257 Solaris 2.0) in which .stab debugging symbol-table entries are carried
258 in an ELF section. In most other file formats, debugging symbol-table
259 entries are interleaved with linkage symbols, and are visible in the
263 .BI "\-\-start\-address=" "address"
264 Start displaying data at the specified address. This affects the output
274 .BI "\-\-stop\-address=" "address"
275 Stop displaying data at the specified address. This affects the output
288 Symbol Table. Print the symbol table entries of the file.
289 This is similar to the information provided by the `\|\c
297 Dynamic Symbol Table. Print the dynamic symbol table entries of the
298 file. This is only meaningful for dynamic objects, such as certain
299 types of shared libraries. This is similar to the information
300 provided by the `\|\c
302 \|' program when given the
308 Print the version number of
316 Display all available header information, including the symbol table and
317 relocation entries. Using `\|\c
319 \|' is equivalent to specifying all of
321 .B \-a \-f \-h \-r \-t\c
325 .RB "`\|" binutils "\|'"
331 The GNU Binary Utilities\c
332 \&, Roland H. Pesch (October 1991);
336 Copyright (c) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
338 Permission is granted to make and distribute verbatim copies of
339 this manual provided the copyright notice and this permission notice
340 are preserved on all copies.
342 Permission is granted to copy and distribute modified versions of this
343 manual under the conditions for verbatim copying, provided that the
344 entire resulting derived work is distributed under the terms of a
345 permission notice identical to this one.
347 Permission is granted to copy and distribute translations of this
348 manual into another language, under the above conditions for modified
349 versions, except that this permission notice may be included in
350 translations approved by the Free Software Foundation instead of in
351 the original English.