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.
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
61 equivalent. At least one option besides
69 \& are archives, display the archive
70 header information (in a format similar to `\|\c
73 information you could list with `\|\c
78 the object file format of each archive member.
83 Specify the object-code format for the object files to be
86 \&. This may not be necessary; \c
89 automatically recognize many formats. For example,
92 objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
96 display summary information from the section headers (`\|\c
101 \|', which is explicitly identified (`\|\c
104 file in the format produced by Oasys compilers. You can list the
105 formats available with the `\|\c
111 Disassemble. Display the assembler mnemonics for the machine
118 File header. Display summary information from the overall header of
127 Header. Display summary information from the section headers of the
132 Print a summary of the options to
138 Display a list showing all architectures and object formats available
139 for specification with \c
148 Display information only for section \c
154 Label the display (using debugging information) with the source filename
155 and line numbers corresponding to the object code shown.
158 .BI "-m " "machine"\c
160 Specify the object files \c
162 \& are for architecture
165 \&. You can list available architectures using the `\|\c
174 Relocation. Print the relocation entries of the file.
178 Display the full contents of any sections requested.
182 Display the contents of the .stab, .stab.index, and .stab.excl
183 sections from an ELF file. This is only useful on systems (such as
184 Solaris 2.0) in which .stab debugging symbol-table entries are carried
185 in an ELF section. In most other file formats, debugging symbol-table
186 entries are interleaved with linkage symbols, and are visible in the
193 Symbol Table. Print the symbol table entries of the file.
194 This is similar to the information provided by the `\|\c
200 Print the version number of
206 Display all available header information, including the symbol table and
207 relocation entries. Using `\|\c
209 \|' is equivalent to specifying all of
211 .B \-a \-f \-h \-r \-t\c
215 .RB "`\|" binutils "\|'"
221 The GNU Binary Utilities\c
222 \&, Roland H. Pesch (October 1991);
226 Copyright (c) 1991 Free Software Foundation, Inc.
228 Permission is granted to make and distribute verbatim copies of
229 this manual provided the copyright notice and this permission notice
230 are preserved on all copies.
232 Permission is granted to copy and distribute modified versions of this
233 manual under the conditions for verbatim copying, provided that the
234 entire resulting derived work is distributed under the terms of a
235 permission notice identical to this one.
237 Permission is granted to copy and distribute translations of this
238 manual into another language, under the above conditions for modified
239 versions, except that this permission notice may be included in
240 translations approved by the Free Software Foundation instead of in
241 the original English.