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 "[\|" \-R | \-\-dynamic\-reloc "\|]"
42 .RB "[\|" \-s | \-\-full\-contents "\|]"
43 .RB "[\|" \-\-stabs "\|]"
44 .RB "[\|" \-t | \-\-syms "\|]"
45 .RB "[\|" \-T | \-\-dynamic\-syms "\|]"
46 .RB "[\|" \-x | \-\-all\-headers "\|]"
47 .RB "[\|" \-\-version "\|]"
48 .RB "[\|" \-\-help "\|]"
56 \& displays information about one or more object files.
57 The options control what particular information to display. This
58 information is mostly useful to programmers who are working on the
59 compilation tools, as opposed to programmers who just want their
60 program to compile and work.
63 are the object files to be examined. When you specify archives,
66 \& shows information on each of the member object files.
69 Where long and short forms of an option are shown together, they are
70 equivalent. At least one option besides
72 (\fB\-\-line\-numbers\fP) must be given.
77 .B \-\-archive\-headers
80 \& are archives, display the archive
81 header information (in a format similar to `\|\c
84 information you could list with `\|\c
89 the object file format of each archive member.
92 .BI "\-b " "bfdname"\c
94 .BI "\-\-target=" "bfdname"\c
96 Specify the object-code format for the object files to be
99 \&. This may not be necessary; \c
102 automatically recognize many formats. For example,
105 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
109 display summary information from the section headers (`\|\c
114 \|', which is explicitly identified (`\|\c
117 file in the format produced by Oasys compilers. You can list the
118 formats available with the `\|\c
126 Display the assembler mnemonics for the machine
135 Display summary information from the overall header of
143 .B \-\-section\-headers
146 Display summary information from the section headers of the
151 Print a summary of the options to
159 Display a list showing all architectures and object formats available
160 for specification with \c
169 .BI "\-\-section=" "name"\c
171 Display information only for section \c
179 Label the display (using debugging information) with the filename
180 and source line numbers corresponding to the object code shown.
181 Only useful with \fB\-d\fP.
184 .BI "\-m " "machine"\c
186 .BI "\-\-architecture=" "machine"\c
188 Specify the object files \c
190 \& are for architecture
193 \&. You can list available architectures using the `\|\c
202 Print the relocation entries of the file.
207 .B \-\-dynamic\-reloc
208 Print the dynamic relocation entries of the file. This is only
209 meaningful for dynamic objects, such as certain types of shared
215 .B \-\-full\-contents
216 Display the full contents of any sections requested.
220 Display the contents of the .stab, .stab.index, and .stab.excl
221 sections from an ELF file. This is only useful on systems (such as
222 Solaris 2.0) in which .stab debugging symbol-table entries are carried
223 in an ELF section. In most other file formats, debugging symbol-table
224 entries are interleaved with linkage symbols, and are visible in the
231 Symbol Table. Print the symbol table entries of the file.
232 This is similar to the information provided by the `\|\c
240 Dynamic Symbol Table. Print the dynamic symbol table entries of the
241 file. This is only meaningful for dynamic objects, such as certain
242 types of shared libraries. This is similar to the information
243 provided by the `\|\c
245 \|' program when given the
251 Print the version number of
259 Display all available header information, including the symbol table and
260 relocation entries. Using `\|\c
262 \|' is equivalent to specifying all of
264 .B \-a \-f \-h \-r \-t\c
268 .RB "`\|" binutils "\|'"
274 The GNU Binary Utilities\c
275 \&, Roland H. Pesch (October 1991);
279 Copyright (c) 1991 Free Software Foundation, Inc.
281 Permission is granted to make and distribute verbatim copies of
282 this manual provided the copyright notice and this permission notice
283 are preserved on all copies.
285 Permission is granted to copy and distribute modified versions of this
286 manual under the conditions for verbatim copying, provided that the
287 entire resulting derived work is distributed under the terms of a
288 permission notice identical to this one.
290 Permission is granted to copy and distribute translations of this
291 manual into another language, under the above conditions for modified
292 versions, except that this permission notice may be included in
293 translations approved by the Free Software Foundation instead of in
294 the original English.