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\(em\&display information from object files.
24 .RB "[\|" \-h | \-\-header "\|]"
33 .RB "[\|" \-r | \-\-reloc "\|]"
35 .RB "[\|" \-\-stabs "\|]"
36 .RB "[\|" \-t | \-\-syms "\|]"
38 .RB "[\|" \-\-version "\|]"
39 .RB "[\|" \-\-help "\|]"
47 \& displays information about one or more object files.
48 The options control what particular information to display. This
49 information is mostly useful to programmers who are working on the
50 compilation tools, as opposed to programmers who just want their
51 program to compile and work.
54 are the object files to be examined. When you specify archives,
57 \& shows information on each of the member object files.
60 Where long and short forms of an option are shown together, they are
67 \& are archives, display the archive
68 header information (in a format similar to `\|\c
71 information you could list with `\|\c
76 the object file format of each archive member.
81 Specify the object-code format for the object files to be
84 \&. This may not be necessary; \c
87 automatically recognize many formats. For example,
90 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
94 display summary information from the section headers (`\|\c
99 \|', which is explicitly identified (`\|\c
102 file in the format produced by Oasys compilers. You can list the
103 formats available with the `\|\c
109 Disassemble. Display the assembler mnemonics for the machine
116 File header. Display summary information from the overall header of
125 Header. Display summary information from the section headers of the
130 Print a summary of the options to
136 Display a list showing all architectures and object formats available
137 for specification with \c
146 Display information only for section \c
152 Label the display (using debugging information) with the source filename
153 and line numbers corresponding to the object code shown.
156 .BI "-m " "machine"\c
158 Specify the object files \c
160 \& are for architecture
163 \&. You can list available architectures using the `\|\c
172 Relocation. Print the relocation entries of the file.
176 Display the full contents of any sections requested.
180 Display the contents of the .stab, .stab.index, and .stab.excl
181 sections from an ELF file. This is only useful on systems (such as
182 Solaris 2.0) in which .stab debugging symbol-table entries are carried
183 in an ELF section. In most other file formats, debugging symbol-table
184 entries are interleaved with linkage symbols, and are visible in the
191 Symbol Table. Print the symbol table entries of the file.
192 This is similar to the information provided by the `\|\c
198 Print the version number of
204 Display all available header information, including the symbol table and
205 relocation entries. Using `\|\c
207 \|' is equivalent to specifying all of
209 .B \-a \-f \-h \-r \-t\c
213 .RB "`\|" binutils "\|'"
219 The GNU Binary Utilities\c
220 \&, Roland H. Pesch (October 1991);
224 Copyright (c) 1991 Free Software Foundation, Inc.
226 Permission is granted to make and distribute verbatim copies of
227 this manual provided the copyright notice and this permission notice
228 are preserved on all copies.
230 Permission is granted to copy and distribute modified versions of this
231 manual under the conditions for verbatim copying, provided that the
232 entire resulting derived work is distributed under the terms of a
233 permission notice identical to this one.
235 Permission is granted to copy and distribute translations of this
236 manual into another language, under the above conditions for modified
237 versions, except that this permission notice may be included in
238 translations approved by the Free Software Foundation instead of in
239 the original English.