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 "[\|" "\-\-start\-address="\c
52 .RB "[\|" "\-\-stop\-address="\c
55 .RB "[\|" \-\-version "\|]"
56 .RB "[\|" \-\-help "\|]"
64 \& displays information about one or more object files.
65 The options control what particular information to display. This
66 information is mostly useful to programmers who are working on the
67 compilation tools, as opposed to programmers who just want their
68 program to compile and work.
71 are the object files to be examined. When you specify archives,
74 \& shows information on each of the member object files.
77 Where long and short forms of an option are shown together, they are
78 equivalent. At least one option besides
80 (\fB\-\-line\-numbers\fP) must be given.
85 .B \-\-archive\-headers
88 \& are archives, display the archive
89 header information (in a format similar to `\|\c
92 information you could list with `\|\c
97 the object file format of each archive member.
100 .BI "\-b " "bfdname"\c
102 .BI "\-\-target=" "bfdname"\c
104 Specify the object-code format for the object files to be
107 \&. This may not be necessary; \c
110 automatically recognize many formats. For example,
113 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
134 Display the assembler mnemonics for the machine
138 This option only disassembles those sections which are
139 expected to contain instructions.
144 .B \-\-disassemble-all
145 Like \fB\-d\fP, but disassemble the contents of all sections, not just
146 those expected to contain instructions.
152 Display summary information from the overall header of
160 .B \-\-section\-headers
163 Display summary information from the section headers of the
168 Print a summary of the options to
176 Display a list showing all architectures and object formats available
177 for specification with \c
186 .BI "\-\-section=" "name"\c
188 Display information only for section \c
196 Label the display (using debugging information) with the filename
197 and source line numbers corresponding to the object code shown.
198 Only useful with \fB\-d\fP or \fB\-D\fP.
201 .BI "\-m " "machine"\c
203 .BI "\-\-architecture=" "machine"\c
205 Specify the object files \c
207 \& are for architecture
210 \&. You can list available architectures using the `\|\c
219 Print the relocation entries of the file. If used with \fB\-d\fP or
220 \fB\-d\fP, the relocations are printed interspersed with the
226 .B \-\-dynamic\-reloc
227 Print the dynamic relocation entries of the file. This is only
228 meaningful for dynamic objects, such as certain types of shared
234 .B \-\-full\-contents
235 Display the full contents of any sections requested.
241 Display source code intermixed with disassembly, if possible. Implies
246 Display the contents of the .stab, .stab.index, and .stab.excl
247 sections from an ELF file. This is only useful on systems (such as
248 Solaris 2.0) in which .stab debugging symbol-table entries are carried
249 in an ELF section. In most other file formats, debugging symbol-table
250 entries are interleaved with linkage symbols, and are visible in the
254 .BI "\-\-start\-address=" "address"
255 Start displaying data at the specified address. This affects the output
265 .BI "\-\-stop\-address=" "address"
266 Stop displaying data at the specified address. This affects the output
279 Symbol Table. Print the symbol table entries of the file.
280 This is similar to the information provided by the `\|\c
288 Dynamic Symbol Table. Print the dynamic symbol table entries of the
289 file. This is only meaningful for dynamic objects, such as certain
290 types of shared libraries. This is similar to the information
291 provided by the `\|\c
293 \|' program when given the
299 Print the version number of
307 Display all available header information, including the symbol table and
308 relocation entries. Using `\|\c
310 \|' is equivalent to specifying all of
312 .B \-a \-f \-h \-r \-t\c
316 .RB "`\|" binutils "\|'"
322 The GNU Binary Utilities\c
323 \&, Roland H. Pesch (October 1991);
327 Copyright (c) 1991 Free Software Foundation, Inc.
329 Permission is granted to make and distribute verbatim copies of
330 this manual provided the copyright notice and this permission notice
331 are preserved on all copies.
333 Permission is granted to copy and distribute modified versions of this
334 manual under the conditions for verbatim copying, provided that the
335 entire resulting derived work is distributed under the terms of a
336 permission notice identical to this one.
338 Permission is granted to copy and distribute translations of this
339 manual into another language, under the above conditions for modified
340 versions, except that this permission notice may be included in
341 translations approved by the Free Software Foundation instead of in
342 the original English.