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 "[\|" \-\-stabs "\|]"
45 .RB "[\|" \-t | \-\-syms "\|]"
46 .RB "[\|" \-T | \-\-dynamic\-syms "\|]"
47 .RB "[\|" \-x | \-\-all\-headers "\|]"
48 .RB "[\|" \-\-version "\|]"
49 .RB "[\|" \-\-help "\|]"
57 \& displays information about one or more object files.
58 The options control what particular information to display. This
59 information is mostly useful to programmers who are working on the
60 compilation tools, as opposed to programmers who just want their
61 program to compile and work.
64 are the object files to be examined. When you specify archives,
67 \& shows information on each of the member object files.
70 Where long and short forms of an option are shown together, they are
71 equivalent. At least one option besides
73 (\fB\-\-line\-numbers\fP) must be given.
78 .B \-\-archive\-headers
81 \& are archives, display the archive
82 header information (in a format similar to `\|\c
85 information you could list with `\|\c
90 the object file format of each archive member.
93 .BI "\-b " "bfdname"\c
95 .BI "\-\-target=" "bfdname"\c
97 Specify the object-code format for the object files to be
100 \&. This may not be necessary; \c
103 automatically recognize many formats. For example,
106 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
110 display summary information from the section headers (`\|\c
115 \|', which is explicitly identified (`\|\c
118 file in the format produced by Oasys compilers. You can list the
119 formats available with the `\|\c
127 Display the assembler mnemonics for the machine
131 This option only disassembles those sections which are
132 expected to contain instructions.
137 .B \-\-disassemble-all
138 Like \fB\-d\fP, but disassemble the contents of all sections, not just
139 those expected to contain instructions.
145 Display summary information from the overall header of
153 .B \-\-section\-headers
156 Display summary information from the section headers of the
161 Print a summary of the options to
169 Display a list showing all architectures and object formats available
170 for specification with \c
179 .BI "\-\-section=" "name"\c
181 Display information only for section \c
189 Label the display (using debugging information) with the filename
190 and source line numbers corresponding to the object code shown.
191 Only useful with \fB\-d\fP or \fB\-D\fP.
194 .BI "\-m " "machine"\c
196 .BI "\-\-architecture=" "machine"\c
198 Specify the object files \c
200 \& are for architecture
203 \&. You can list available architectures using the `\|\c
212 Print the relocation entries of the file. If used with \fB\-d\fP or
213 \fB\-d\fP, the relocations are printed interspersed with the
219 .B \-\-dynamic\-reloc
220 Print the dynamic relocation entries of the file. This is only
221 meaningful for dynamic objects, such as certain types of shared
227 .B \-\-full\-contents
228 Display the full contents of any sections requested.
232 Display the contents of the .stab, .stab.index, and .stab.excl
233 sections from an ELF file. This is only useful on systems (such as
234 Solaris 2.0) in which .stab debugging symbol-table entries are carried
235 in an ELF section. In most other file formats, debugging symbol-table
236 entries are interleaved with linkage symbols, and are visible in the
243 Symbol Table. Print the symbol table entries of the file.
244 This is similar to the information provided by the `\|\c
252 Dynamic Symbol Table. Print the dynamic symbol table entries of the
253 file. This is only meaningful for dynamic objects, such as certain
254 types of shared libraries. This is similar to the information
255 provided by the `\|\c
257 \|' program when given the
263 Print the version number of
271 Display all available header information, including the symbol table and
272 relocation entries. Using `\|\c
274 \|' is equivalent to specifying all of
276 .B \-a \-f \-h \-r \-t\c
280 .RB "`\|" binutils "\|'"
286 The GNU Binary Utilities\c
287 \&, Roland H. Pesch (October 1991);
291 Copyright (c) 1991 Free Software Foundation, Inc.
293 Permission is granted to make and distribute verbatim copies of
294 this manual provided the copyright notice and this permission notice
295 are preserved on all copies.
297 Permission is granted to copy and distribute modified versions of this
298 manual under the conditions for verbatim copying, provided that the
299 entire resulting derived work is distributed under the terms of a
300 permission notice identical to this one.
302 Permission is granted to copy and distribute translations of this
303 manual into another language, under the above conditions for modified
304 versions, except that this permission notice may be included in
305 translations approved by the Free Software Foundation instead of in
306 the original English.