1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<!-- Copyright (C) 1991-2021 Free Software Foundation, Inc.
4
5Permission is granted to copy, distribute and/or modify this document
6under the terms of the GNU Free Documentation License, Version 1.3
7or any later version published by the Free Software Foundation;
8with no Invariant Sections, with no Front-Cover Texts, and with no
9Back-Cover Texts.  A copy of the license is included in the
10section entitled "GNU Free Documentation License".
11 -->
12<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
13<head>
14<title>GNU Binary Utilities: objdump</title>
15
16<meta name="description" content="GNU Binary Utilities: objdump">
17<meta name="keywords" content="GNU Binary Utilities: objdump">
18<meta name="resource-type" content="document">
19<meta name="distribution" content="global">
20<meta name="Generator" content="makeinfo">
21<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
22<link href="index.html#Top" rel="start" title="Top">
23<link href="Binutils-Index.html#Binutils-Index" rel="index" title="Binutils Index">
24<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
25<link href="index.html#Top" rel="up" title="Top">
26<link href="ranlib.html#ranlib" rel="next" title="ranlib">
27<link href="objcopy.html#objcopy" rel="previous" title="objcopy">
28<style type="text/css">
29<!--
30a.summary-letter {text-decoration: none}
31blockquote.smallquotation {font-size: smaller}
32div.display {margin-left: 3.2em}
33div.example {margin-left: 3.2em}
34div.indentedblock {margin-left: 3.2em}
35div.lisp {margin-left: 3.2em}
36div.smalldisplay {margin-left: 3.2em}
37div.smallexample {margin-left: 3.2em}
38div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
39div.smalllisp {margin-left: 3.2em}
40kbd {font-style:oblique}
41pre.display {font-family: inherit}
42pre.format {font-family: inherit}
43pre.menu-comment {font-family: serif}
44pre.menu-preformatted {font-family: serif}
45pre.smalldisplay {font-family: inherit; font-size: smaller}
46pre.smallexample {font-size: smaller}
47pre.smallformat {font-family: inherit; font-size: smaller}
48pre.smalllisp {font-size: smaller}
49span.nocodebreak {white-space:nowrap}
50span.nolinebreak {white-space:nowrap}
51span.roman {font-family:serif; font-weight:normal}
52span.sansserif {font-family:sans-serif; font-weight:normal}
53ul.no-bullet {list-style: none}
54-->
55</style>
56
57
58</head>
59
60<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
61<a name="objdump"></a>
62<div class="header">
63<p>
64Next: <a href="ranlib.html#ranlib" accesskey="n" rel="next">ranlib</a>, Previous: <a href="objcopy.html#objcopy" accesskey="p" rel="previous">objcopy</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Binutils-Index.html#Binutils-Index" title="Index" rel="index">Index</a>]</p>
65</div>
66<hr>
67<a name="objdump-1"></a>
68<h2 class="chapter">4 objdump</h2>
69
70<a name="index-object-file-information"></a>
71<a name="index-objdump"></a>
72
73
74<div class="smallexample">
75<pre class="smallexample">objdump [<samp>-a</samp>|<samp>--archive-headers</samp>]
76        [<samp>-b</samp> <var>bfdname</var>|<samp>--target=<var>bfdname</var></samp>]
77        [<samp>-C</samp>|<samp>--demangle</samp>[=<var>style</var>] ]
78        [<samp>-d</samp>|<samp>--disassemble</samp>[=<var>symbol</var>]]
79        [<samp>-D</samp>|<samp>--disassemble-all</samp>]
80        [<samp>-z</samp>|<samp>--disassemble-zeroes</samp>]
81        [<samp>-EB</samp>|<samp>-EL</samp>|<samp>--endian=</samp>{big | little }]
82        [<samp>-f</samp>|<samp>--file-headers</samp>]
83        [<samp>-F</samp>|<samp>--file-offsets</samp>]
84        [<samp>--file-start-context</samp>]
85        [<samp>-g</samp>|<samp>--debugging</samp>]
86        [<samp>-e</samp>|<samp>--debugging-tags</samp>]
87        [<samp>-h</samp>|<samp>--section-headers</samp>|<samp>--headers</samp>]
88        [<samp>-i</samp>|<samp>--info</samp>]
89        [<samp>-j</samp> <var>section</var>|<samp>--section=</samp><var>section</var>]
90        [<samp>-l</samp>|<samp>--line-numbers</samp>]
91        [<samp>-S</samp>|<samp>--source</samp>]
92        [<samp>--source-comment</samp>[=<var>text</var>]]
93        [<samp>-m</samp> <var>machine</var>|<samp>--architecture=</samp><var>machine</var>]
94        [<samp>-M</samp> <var>options</var>|<samp>--disassembler-options=</samp><var>options</var>]
95        [<samp>-p</samp>|<samp>--private-headers</samp>]
96        [<samp>-P</samp> <var>options</var>|<samp>--private=</samp><var>options</var>]
97        [<samp>-r</samp>|<samp>--reloc</samp>]
98        [<samp>-R</samp>|<samp>--dynamic-reloc</samp>]
99        [<samp>-s</samp>|<samp>--full-contents</samp>]
100        [<samp>-W[lLiaprmfFsoORtUuTgAckK]</samp>|
101         <samp>--dwarf</samp>[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=str-offsets,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges,=gdb_index,=addr,=cu_index,=links,=follow-links]]
102        [<samp>--ctf=</samp><var>section</var>]
103        [<samp>-G</samp>|<samp>--stabs</samp>]
104        [<samp>-t</samp>|<samp>--syms</samp>]
105        [<samp>-T</samp>|<samp>--dynamic-syms</samp>]
106        [<samp>-x</samp>|<samp>--all-headers</samp>]
107        [<samp>-w</samp>|<samp>--wide</samp>]
108        [<samp>--start-address=</samp><var>address</var>]
109        [<samp>--stop-address=</samp><var>address</var>]
110        [<samp>--no-addresses</samp>]
111        [<samp>--prefix-addresses</samp>]
112        [<samp>--[no-]show-raw-insn</samp>]
113        [<samp>--adjust-vma=</samp><var>offset</var>]
114        [<samp>--dwarf-depth=<var>n</var></samp>]
115        [<samp>--dwarf-start=<var>n</var></samp>]
116        [<samp>--ctf-parent=</samp><var>section</var>]
117        [<samp>--no-recurse-limit</samp>|<samp>--recurse-limit</samp>]
118        [<samp>--special-syms</samp>]
119        [<samp>--prefix=</samp><var>prefix</var>]
120        [<samp>--prefix-strip=</samp><var>level</var>]
121        [<samp>--insn-width=</samp><var>width</var>]
122        [<samp>--visualize-jumps[=color|=extended-color|=off]</samp>
123        [<samp>-V</samp>|<samp>--version</samp>]
124        [<samp>-H</samp>|<samp>--help</samp>]
125        <var>objfile</var>&hellip;
126</pre></div>
127
128
129<p><code>objdump</code> displays information about one or more object files.
130The options control what particular information to display.  This
131information is mostly useful to programmers who are working on the
132compilation tools, as opposed to programmers who just want their
133program to compile and work.
134</p>
135<p><var>objfile</var>&hellip; are the object files to be examined.  When you
136specify archives, <code>objdump</code> shows information on each of the member
137object files.
138</p>
139
140
141<p>The long and short forms of options, shown here as alternatives, are
142equivalent.  At least one option from the list
143<samp>-a,-d,-D,-e,-f,-g,-G,-h,-H,-p,-P,-r,-R,-s,-S,-t,-T,-V,-x</samp> must be given.
144</p>
145<dl compact="compact">
146<dt><code>-a</code></dt>
147<dt><code>--archive-header</code></dt>
148<dd><a name="index-archive-headers"></a>
149<p>If any of the <var>objfile</var> files are archives, display the archive
150header information (in a format similar to &lsquo;<samp>ls -l</samp>&rsquo;).  Besides the
151information you could list with &lsquo;<samp>ar tv</samp>&rsquo;, &lsquo;<samp>objdump -a</samp>&rsquo; shows
152the object file format of each archive member.
153</p>
154</dd>
155<dt><code>--adjust-vma=<var>offset</var></code></dt>
156<dd><a name="index-section-addresses-in-objdump"></a>
157<a name="index-VMA-in-objdump"></a>
158<p>When dumping information, first add <var>offset</var> to all the section
159addresses.  This is useful if the section addresses do not correspond to
160the symbol table, which can happen when putting sections at particular
161addresses when using a format which can not represent section addresses,
162such as a.out.
163</p>
164</dd>
165<dt><code>-b <var>bfdname</var></code></dt>
166<dt><code>--target=<var>bfdname</var></code></dt>
167<dd><a name="index-object-code-format-1"></a>
168<p>Specify that the object-code format for the object files is
169<var>bfdname</var>.  This option may not be necessary; <var>objdump</var> can
170automatically recognize many formats.
171</p>
172<p>For example,
173</p><div class="example">
174<pre class="example">objdump -b oasys -m vax -h fu.o
175</pre></div>
176<p>displays summary information from the section headers (<samp>-h</samp>) of
177<samp>fu.o</samp>, which is explicitly identified (<samp>-m</samp>) as a VAX object
178file in the format produced by Oasys compilers.  You can list the
179formats available with the <samp>-i</samp> option.
180See <a href="Target-Selection.html#Target-Selection">Target Selection</a>, for more information.
181</p>
182</dd>
183<dt><code>-C</code></dt>
184<dt><code>--demangle[=<var>style</var>]</code></dt>
185<dd><a name="index-demangling-in-objdump"></a>
186<p>Decode (<em>demangle</em>) low-level symbol names into user-level names.
187Besides removing any initial underscore prepended by the system, this
188makes C++ function names readable.  Different compilers have different
189mangling styles. The optional demangling style argument can be used to
190choose an appropriate demangling style for your compiler. See <a href="c_002b_002bfilt.html#c_002b_002bfilt">c++filt</a>,
191for more information on demangling.
192</p>
193</dd>
194<dt><code>--recurse-limit</code></dt>
195<dt><code>--no-recurse-limit</code></dt>
196<dt><code>--recursion-limit</code></dt>
197<dt><code>--no-recursion-limit</code></dt>
198<dd><p>Enables or disables a limit on the amount of recursion performed
199whilst demangling strings.  Since the name mangling formats allow for
200an infinite level of recursion it is possible to create strings whose
201decoding will exhaust the amount of stack space available on the host
202machine, triggering a memory fault.  The limit tries to prevent this
203from happening by restricting recursion to 2048 levels of nesting.
204</p>
205<p>The default is for this limit to be enabled, but disabling it may be
206necessary in order to demangle truly complicated names.  Note however
207that if the recursion limit is disabled then stack exhaustion is
208possible and any bug reports about such an event will be rejected.
209</p>
210</dd>
211<dt><code>-g</code></dt>
212<dt><code>--debugging</code></dt>
213<dd><p>Display debugging information.  This attempts to parse STABS
214debugging format information stored in the file and print it out using
215a C like syntax.  If no STABS debugging was found this option
216falls back on the <samp>-W</samp> option to print any DWARF information in
217the file.
218</p>
219</dd>
220<dt><code>-e</code></dt>
221<dt><code>--debugging-tags</code></dt>
222<dd><p>Like <samp>-g</samp>, but the information is generated in a format compatible
223with ctags tool.
224</p>
225</dd>
226<dt><code>-d</code></dt>
227<dt><code>--disassemble</code></dt>
228<dt><code>--disassemble=<var>symbol</var></code></dt>
229<dd><a name="index-disassembling-object-code"></a>
230<a name="index-machine-instructions"></a>
231<p>Display the assembler mnemonics for the machine instructions from the
232input file.  This option only disassembles those sections which are
233expected to contain instructions.  If the optional <var>symbol</var>
234argument is given, then display the assembler mnemonics starting at
235<var>symbol</var>.  If <var>symbol</var> is a function name then disassembly
236will stop at the end of the function, otherwise it will stop when the
237next symbol is encountered.  If there are no matches for <var>symbol</var>
238then nothing will be displayed.
239</p>
240<p>Note if the <samp>--dwarf=follow-links</samp> option has also been enabled
241then any symbol tables in linked debug info files will be read in and
242used when disassembling.
243</p>
244</dd>
245<dt><code>-D</code></dt>
246<dt><code>--disassemble-all</code></dt>
247<dd><p>Like <samp>-d</samp>, but disassemble the contents of all sections, not just
248those expected to contain instructions.
249</p>
250<p>This option also has a subtle effect on the disassembly of
251instructions in code sections.  When option <samp>-d</samp> is in effect
252objdump will assume that any symbols present in a code section occur
253on the boundary between instructions and it will refuse to disassemble
254across such a boundary.  When option <samp>-D</samp> is in effect however
255this assumption is supressed.  This means that it is possible for the
256output of <samp>-d</samp> and <samp>-D</samp> to differ if, for example, data
257is stored in code sections.
258</p>
259<p>If the target is an ARM architecture this switch also has the effect
260of forcing the disassembler to decode pieces of data found in code
261sections as if they were instructions.
262</p>
263<p>Note if the <samp>--dwarf=follow-links</samp> option has also been enabled
264then any symbol tables in linked debug info files will be read in and
265used when disassembling.
266</p>
267</dd>
268<dt><code>--no-addresses</code></dt>
269<dd><p>When disassembling, don&rsquo;t print addresses on each line or for symbols
270and relocation offsets.  In combination with <samp>--no-show-raw-insn</samp>
271this may be useful for comparing compiler output.
272</p>
273</dd>
274<dt><code>--prefix-addresses</code></dt>
275<dd><p>When disassembling, print the complete address on each line.  This is
276the older disassembly format.
277</p>
278</dd>
279<dt><code>-EB</code></dt>
280<dt><code>-EL</code></dt>
281<dt><code>--endian={big|little}</code></dt>
282<dd><a name="index-endianness"></a>
283<a name="index-disassembly-endianness"></a>
284<p>Specify the endianness of the object files.  This only affects
285disassembly.  This can be useful when disassembling a file format which
286does not describe endianness information, such as S-records.
287</p>
288</dd>
289<dt><code>-f</code></dt>
290<dt><code>--file-headers</code></dt>
291<dd><a name="index-object-file-header"></a>
292<p>Display summary information from the overall header of
293each of the <var>objfile</var> files.
294</p>
295</dd>
296<dt><code>-F</code></dt>
297<dt><code>--file-offsets</code></dt>
298<dd><a name="index-object-file-offsets"></a>
299<p>When disassembling sections, whenever a symbol is displayed, also
300display the file offset of the region of data that is about to be
301dumped.  If zeroes are being skipped, then when disassembly resumes,
302tell the user how many zeroes were skipped and the file offset of the
303location from where the disassembly resumes.  When dumping sections,
304display the file offset of the location from where the dump starts.
305</p>
306</dd>
307<dt><code>--file-start-context</code></dt>
308<dd><a name="index-source-code-context"></a>
309<p>Specify that when displaying interlisted source code/disassembly
310(assumes <samp>-S</samp>) from a file that has not yet been displayed, extend the
311context to the start of the file.
312</p>
313</dd>
314<dt><code>-h</code></dt>
315<dt><code>--section-headers</code></dt>
316<dt><code>--headers</code></dt>
317<dd><a name="index-section-headers"></a>
318<p>Display summary information from the section headers of the
319object file.
320</p>
321<p>File segments may be relocated to nonstandard addresses, for example by
322using the <samp>-Ttext</samp>, <samp>-Tdata</samp>, or <samp>-Tbss</samp> options to
323<code>ld</code>.  However, some object file formats, such as a.out, do not
324store the starting address of the file segments.  In those situations,
325although <code>ld</code> relocates the sections correctly, using &lsquo;<samp>objdump
326-h</samp>&rsquo; to list the file section headers cannot show the correct addresses.
327Instead, it shows the usual addresses, which are implicit for the
328target.
329</p>
330<p>Note, in some cases it is possible for a section to have both the
331READONLY and the NOREAD attributes set.  In such cases the NOREAD
332attribute takes precedence, but <code>objdump</code> will report both
333since the exact setting of the flag bits might be important.
334</p>
335</dd>
336<dt><code>-H</code></dt>
337<dt><code>--help</code></dt>
338<dd><p>Print a summary of the options to <code>objdump</code> and exit.
339</p>
340</dd>
341<dt><code>-i</code></dt>
342<dt><code>--info</code></dt>
343<dd><a name="index-architectures-available"></a>
344<a name="index-object-formats-available"></a>
345<p>Display a list showing all architectures and object formats available
346for specification with <samp>-b</samp> or <samp>-m</samp>.
347</p>
348</dd>
349<dt><code>-j <var>name</var></code></dt>
350<dt><code>--section=<var>name</var></code></dt>
351<dd><a name="index-section-information"></a>
352<p>Display information only for section <var>name</var>.
353</p>
354</dd>
355<dt><code>-l</code></dt>
356<dt><code>--line-numbers</code></dt>
357<dd><a name="index-source-filenames-for-object-files"></a>
358<p>Label the display (using debugging information) with the filename and
359source line numbers corresponding to the object code or relocs shown.
360Only useful with <samp>-d</samp>, <samp>-D</samp>, or <samp>-r</samp>.
361</p>
362</dd>
363<dt><code>-m <var>machine</var></code></dt>
364<dt><code>--architecture=<var>machine</var></code></dt>
365<dd><a name="index-architecture"></a>
366<a name="index-disassembly-architecture"></a>
367<p>Specify the architecture to use when disassembling object files.  This
368can be useful when disassembling object files which do not describe
369architecture information, such as S-records.  You can list the available
370architectures with the <samp>-i</samp> option.
371</p>
372<p>If the target is an ARM architecture then this switch has an
373additional effect.  It restricts the disassembly to only those
374instructions supported by the architecture specified by <var>machine</var>.
375If it is necessary to use this switch because the input file does not
376contain any architecture information, but it is also desired to
377disassemble all the instructions use <samp>-marm</samp>.
378</p>
379</dd>
380<dt><code>-M <var>options</var></code></dt>
381<dt><code>--disassembler-options=<var>options</var></code></dt>
382<dd><p>Pass target specific information to the disassembler.  Only supported on
383some targets.  If it is necessary to specify more than one
384disassembler option then multiple <samp>-M</samp> options can be used or
385can be placed together into a comma separated list.
386</p>
387<p>For ARC, <samp>dsp</samp> controls the printing of DSP instructions,
388<samp>spfp</samp> selects the printing of FPX single precision FP
389instructions, <samp>dpfp</samp> selects the printing of FPX double
390precision FP instructions, <samp>quarkse_em</samp> selects the printing of
391special QuarkSE-EM instructions, <samp>fpuda</samp> selects the printing
392of double precision assist instructions, <samp>fpus</samp> selects the
393printing of FPU single precision FP instructions, while <samp>fpud</samp>
394selects the printing of FPU double precision FP instructions.
395Additionally, one can choose to have all the immediates printed in
396hexadecimal using <samp>hex</samp>.  By default, the short immediates are
397printed using the decimal representation, while the long immediate
398values are printed as hexadecimal.
399</p>
400<p><samp>cpu=...</samp> allows one to enforce a particular ISA when disassembling
401instructions, overriding the <samp>-m</samp> value or whatever is in the ELF file.
402This might be useful to select ARC EM or HS ISA, because architecture is same
403for those and disassembler relies on private ELF header data to decide if code
404is for EM or HS.  This option might be specified multiple times - only the
405latest value will be used.  Valid values are same as for the assembler
406<samp>-mcpu=...</samp> option.
407</p>
408<p>If the target is an ARM architecture then this switch can be used to
409select which register name set is used during disassembler.  Specifying
410<samp>-M reg-names-std</samp> (the default) will select the register names as
411used in ARM&rsquo;s instruction set documentation, but with register 13 called
412&rsquo;sp&rsquo;, register 14 called &rsquo;lr&rsquo; and register 15 called &rsquo;pc&rsquo;.  Specifying
413<samp>-M reg-names-apcs</samp> will select the name set used by the ARM
414Procedure Call Standard, whilst specifying <samp>-M reg-names-raw</samp> will
415just use &lsquo;<samp>r</samp>&rsquo; followed by the register number.
416</p>
417<p>There are also two variants on the APCS register naming scheme enabled
418by <samp>-M reg-names-atpcs</samp> and <samp>-M reg-names-special-atpcs</samp> which
419use the ARM/Thumb Procedure Call Standard naming conventions.  (Either
420with the normal register names or the special register names).
421</p>
422<p>This option can also be used for ARM architectures to force the
423disassembler to interpret all instructions as Thumb instructions by
424using the switch <samp>--disassembler-options=force-thumb</samp>.  This can be
425useful when attempting to disassemble thumb code produced by other
426compilers.
427</p>
428<p>For AArch64 targets this switch can be used to set whether instructions are
429disassembled as the most general instruction using the <samp>-M no-aliases</samp>
430option or whether instruction notes should be generated as comments in the
431disasssembly using <samp>-M notes</samp>.
432</p>
433<p>For the x86, some of the options duplicate functions of the <samp>-m</samp>
434switch, but allow finer grained control.
435</p><dl compact="compact">
436<dt><code>x86-64</code></dt>
437<dt><code>i386</code></dt>
438<dt><code>i8086</code></dt>
439<dd><p>Select disassembly for the given architecture.
440</p>
441</dd>
442<dt><code>intel</code></dt>
443<dt><code>att</code></dt>
444<dd><p>Select between intel syntax mode and AT&amp;T syntax mode.
445</p>
446</dd>
447<dt><code>amd64</code></dt>
448<dt><code>intel64</code></dt>
449<dd><p>Select between AMD64 ISA and Intel64 ISA.
450</p>
451</dd>
452<dt><code>intel-mnemonic</code></dt>
453<dt><code>att-mnemonic</code></dt>
454<dd><p>Select between intel mnemonic mode and AT&amp;T mnemonic mode.
455Note: <code>intel-mnemonic</code> implies <code>intel</code> and
456<code>att-mnemonic</code> implies <code>att</code>.
457</p>
458</dd>
459<dt><code>addr64</code></dt>
460<dt><code>addr32</code></dt>
461<dt><code>addr16</code></dt>
462<dt><code>data32</code></dt>
463<dt><code>data16</code></dt>
464<dd><p>Specify the default address size and operand size.  These five options
465will be overridden if <code>x86-64</code>, <code>i386</code> or <code>i8086</code>
466appear later in the option string.
467</p>
468</dd>
469<dt><code>suffix</code></dt>
470<dd><p>When in AT&amp;T mode and also for a limited set of instructions when in Intel
471mode, instructs the disassembler to print a mnemonic suffix even when the
472suffix could be inferred by the operands or, for certain instructions, the
473execution mode&rsquo;s defaults.
474</p></dd>
475</dl>
476
477<p>For PowerPC, the <samp>-M</samp> argument <samp>raw</samp> selects
478disasssembly of hardware insns rather than aliases.  For example, you
479will see <code>rlwinm</code> rather than <code>clrlwi</code>, and <code>addi</code>
480rather than <code>li</code>.  All of the <samp>-m</samp> arguments for
481<code>gas</code> that select a CPU are supported.  These are:
482<samp>403</samp>, <samp>405</samp>, <samp>440</samp>, <samp>464</samp>, <samp>476</samp>,
483<samp>601</samp>, <samp>603</samp>, <samp>604</samp>, <samp>620</samp>, <samp>7400</samp>,
484<samp>7410</samp>, <samp>7450</samp>, <samp>7455</samp>, <samp>750cl</samp>,
485<samp>821</samp>, <samp>850</samp>, <samp>860</samp>, <samp>a2</samp>, <samp>booke</samp>,
486<samp>booke32</samp>, <samp>cell</samp>, <samp>com</samp>, <samp>e200z4</samp>,
487<samp>e300</samp>, <samp>e500</samp>, <samp>e500mc</samp>, <samp>e500mc64</samp>,
488<samp>e500x2</samp>, <samp>e5500</samp>, <samp>e6500</samp>, <samp>efs</samp>,
489<samp>power4</samp>, <samp>power5</samp>, <samp>power6</samp>, <samp>power7</samp>,
490<samp>power8</samp>, <samp>power9</samp>, <samp>power10</samp>, <samp>ppc</samp>,
491<samp>ppc32</samp>, <samp>ppc64</samp>, <samp>ppc64bridge</samp>, <samp>ppcps</samp>,
492<samp>pwr</samp>, <samp>pwr2</samp>, <samp>pwr4</samp>, <samp>pwr5</samp>, <samp>pwr5x</samp>,
493<samp>pwr6</samp>, <samp>pwr7</samp>, <samp>pwr8</samp>, <samp>pwr9</samp>, <samp>pwr10</samp>,
494<samp>pwrx</samp>, <samp>titan</samp>, and <samp>vle</samp>.
495<samp>32</samp> and <samp>64</samp> modify the default or a prior CPU
496selection, disabling and enabling 64-bit insns respectively.  In
497addition, <samp>altivec</samp>, <samp>any</samp>, <samp>htm</samp>, <samp>vsx</samp>,
498and <samp>spe</samp> add capabilities to a previous <em>or later</em> CPU
499selection.  <samp>any</samp> will disassemble any opcode known to
500binutils, but in cases where an opcode has two different meanings or
501different arguments, you may not see the disassembly you expect.
502If you disassemble without giving a CPU selection, a default will be
503chosen from information gleaned by BFD from the object files headers,
504but the result again may not be as you expect.
505</p>
506<p>For MIPS, this option controls the printing of instruction mnemonic
507names and register names in disassembled instructions.  Multiple
508selections from the following may be specified as a comma separated
509string, and invalid options are ignored:
510</p>
511<dl compact="compact">
512<dt><code>no-aliases</code></dt>
513<dd><p>Print the &rsquo;raw&rsquo; instruction mnemonic instead of some pseudo
514instruction mnemonic.  I.e., print &rsquo;daddu&rsquo; or &rsquo;or&rsquo; instead of &rsquo;move&rsquo;,
515&rsquo;sll&rsquo; instead of &rsquo;nop&rsquo;, etc.
516</p>
517</dd>
518<dt><code>msa</code></dt>
519<dd><p>Disassemble MSA instructions.
520</p>
521</dd>
522<dt><code>virt</code></dt>
523<dd><p>Disassemble the virtualization ASE instructions.
524</p>
525</dd>
526<dt><code>xpa</code></dt>
527<dd><p>Disassemble the eXtended Physical Address (XPA) ASE instructions.
528</p>
529</dd>
530<dt><code>gpr-names=<var>ABI</var></code></dt>
531<dd><p>Print GPR (general-purpose register) names as appropriate
532for the specified ABI.  By default, GPR names are selected according to
533the ABI of the binary being disassembled.
534</p>
535</dd>
536<dt><code>fpr-names=<var>ABI</var></code></dt>
537<dd><p>Print FPR (floating-point register) names as
538appropriate for the specified ABI.  By default, FPR numbers are printed
539rather than names.
540</p>
541</dd>
542<dt><code>cp0-names=<var>ARCH</var></code></dt>
543<dd><p>Print CP0 (system control coprocessor; coprocessor 0) register names
544as appropriate for the CPU or architecture specified by
545<var>ARCH</var>.  By default, CP0 register names are selected according to
546the architecture and CPU of the binary being disassembled.
547</p>
548</dd>
549<dt><code>hwr-names=<var>ARCH</var></code></dt>
550<dd><p>Print HWR (hardware register, used by the <code>rdhwr</code> instruction) names
551as appropriate for the CPU or architecture specified by
552<var>ARCH</var>.  By default, HWR names are selected according to
553the architecture and CPU of the binary being disassembled.
554</p>
555</dd>
556<dt><code>reg-names=<var>ABI</var></code></dt>
557<dd><p>Print GPR and FPR names as appropriate for the selected ABI.
558</p>
559</dd>
560<dt><code>reg-names=<var>ARCH</var></code></dt>
561<dd><p>Print CPU-specific register names (CP0 register and HWR names)
562as appropriate for the selected CPU or architecture.
563</p></dd>
564</dl>
565
566<p>For any of the options listed above, <var>ABI</var> or
567<var>ARCH</var> may be specified as &lsquo;<samp>numeric</samp>&rsquo; to have numbers printed
568rather than names, for the selected types of registers.
569You can list the available values of <var>ABI</var> and <var>ARCH</var> using
570the <samp>--help</samp> option.
571</p>
572<p>For VAX, you can specify function entry addresses with <samp>-M
573entry:0xf00ba</samp>.  You can use this multiple times to properly
574disassemble VAX binary files that don&rsquo;t contain symbol tables (like
575ROM dumps).  In these cases, the function entry mask would otherwise
576be decoded as VAX instructions, which would probably lead the rest
577of the function being wrongly disassembled.
578</p>
579</dd>
580<dt><code>-p</code></dt>
581<dt><code>--private-headers</code></dt>
582<dd><p>Print information that is specific to the object file format.  The exact
583information printed depends upon the object file format.  For some
584object file formats, no additional information is printed.
585</p>
586</dd>
587<dt><code>-P <var>options</var></code></dt>
588<dt><code>--private=<var>options</var></code></dt>
589<dd><p>Print information that is specific to the object file format.  The
590argument <var>options</var> is a comma separated list that depends on the
591format (the lists of options is displayed with the help).
592</p>
593<p>For XCOFF, the available options are:
594</p><dl compact="compact">
595<dt><code>header</code></dt>
596<dt><code>aout</code></dt>
597<dt><code>sections</code></dt>
598<dt><code>syms</code></dt>
599<dt><code>relocs</code></dt>
600<dt><code>lineno,</code></dt>
601<dt><code>loader</code></dt>
602<dt><code>except</code></dt>
603<dt><code>typchk</code></dt>
604<dt><code>traceback</code></dt>
605<dt><code>toc</code></dt>
606<dt><code>ldinfo</code></dt>
607</dl>
608
609<p>Not all object formats support this option.  In particular the ELF
610format does not use it.
611</p>
612</dd>
613<dt><code>-r</code></dt>
614<dt><code>--reloc</code></dt>
615<dd><a name="index-relocation-entries_002c-in-object-file"></a>
616<p>Print the relocation entries of the file.  If used with <samp>-d</samp> or
617<samp>-D</samp>, the relocations are printed interspersed with the
618disassembly.
619</p>
620</dd>
621<dt><code>-R</code></dt>
622<dt><code>--dynamic-reloc</code></dt>
623<dd><a name="index-dynamic-relocation-entries_002c-in-object-file"></a>
624<p>Print the dynamic relocation entries of the file.  This is only
625meaningful for dynamic objects, such as certain types of shared
626libraries.  As for <samp>-r</samp>, if used with <samp>-d</samp> or
627<samp>-D</samp>, the relocations are printed interspersed with the
628disassembly.
629</p>
630</dd>
631<dt><code>-s</code></dt>
632<dt><code>--full-contents</code></dt>
633<dd><a name="index-sections_002c-full-contents"></a>
634<a name="index-object-file-sections"></a>
635<p>Display the full contents of any sections requested.  By default all
636non-empty sections are displayed.
637</p>
638</dd>
639<dt><code>-S</code></dt>
640<dt><code>--source</code></dt>
641<dd><a name="index-source-disassembly"></a>
642<a name="index-disassembly_002c-with-source"></a>
643<p>Display source code intermixed with disassembly, if possible.  Implies
644<samp>-d</samp>.
645</p>
646</dd>
647<dt><code>--source-comment[=<var>txt</var>]</code></dt>
648<dd><a name="index-source-disassembly-1"></a>
649<a name="index-disassembly_002c-with-source-1"></a>
650<p>Like the <samp>-S</samp> option, but all source code lines are displayed
651with a prefix of <var>txt</var>.  Typically <var>txt</var> will be a comment
652string which can be used to distinguish the assembler code from the
653source code.  If <var>txt</var> is not provided then a default string of
654<var>&ldquo;# &ldquo;</var> (hash followed by a space), will be used.
655</p>
656</dd>
657<dt><code>--prefix=<var>prefix</var></code></dt>
658<dd><a name="index-Add-prefix-to-absolute-paths"></a>
659<p>Specify <var>prefix</var> to add to the absolute paths when used with
660<samp>-S</samp>.
661</p>
662</dd>
663<dt><code>--prefix-strip=<var>level</var></code></dt>
664<dd><a name="index-Strip-absolute-paths"></a>
665<p>Indicate how many initial directory names to strip off the hardwired
666absolute paths. It has no effect without <samp>--prefix=</samp><var>prefix</var>.
667</p>
668</dd>
669<dt><code>--show-raw-insn</code></dt>
670<dd><p>When disassembling instructions, print the instruction in hex as well as
671in symbolic form.  This is the default except when
672<samp>--prefix-addresses</samp> is used.
673</p>
674</dd>
675<dt><code>--no-show-raw-insn</code></dt>
676<dd><p>When disassembling instructions, do not print the instruction bytes.
677This is the default when <samp>--prefix-addresses</samp> is used.
678</p>
679</dd>
680<dt><code>--insn-width=<var>width</var></code></dt>
681<dd><a name="index-Instruction-width"></a>
682<p>Display <var>width</var> bytes on a single line when disassembling
683instructions.
684</p>
685</dd>
686<dt><code>--visualize-jumps[=color|=extended-color|=off]</code></dt>
687<dd><p>Visualize jumps that stay inside a function by drawing ASCII art between
688the start and target addresses.  The optional <samp>=color</samp> argument
689adds color to the output using simple terminal colors.  Alternatively
690the <samp>=extended-color</samp> argument will add color using 8bit
691colors, but these might not work on all terminals.
692</p>
693<p>If it is necessary to disable the <samp>visualize-jumps</samp> option
694after it has previously been enabled then use
695<samp>visualize-jumps=off</samp>.
696</p>
697</dd>
698<dt><code>-W[lLiaprmfFsoORtUuTgAckK]</code></dt>
699<dt><code>--dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=str-offsets,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges,=gdb_index,=addr,=cu_index,=links,=follow-links]</code></dt>
700<dd>
701<p>Displays the contents of the DWARF debug sections in the file, if any
702are present.  Compressed debug sections are automatically decompressed
703(temporarily) before they are displayed.  If one or more of the
704optional letters or words follows the switch then only those type(s)
705of data will be dumped.  The letters and words refer to the following
706information:
707</p>
708<dl compact="compact">
709<dt><code>a</code></dt>
710<dt><code>=abbrev</code></dt>
711<dd><p>Displays the contents of the &lsquo;<samp>.debug_abbrev</samp>&rsquo; section.
712</p>
713</dd>
714<dt><code>A</code></dt>
715<dt><code>=addr</code></dt>
716<dd><p>Displays the contents of the &lsquo;<samp>.debug_addr</samp>&rsquo; section.
717</p>
718</dd>
719<dt><code>c</code></dt>
720<dt><code>=cu_index</code></dt>
721<dd><p>Displays the contents of the &lsquo;<samp>.debug_cu_index</samp>&rsquo; and/or
722&lsquo;<samp>.debug_tu_index</samp>&rsquo; sections.
723</p>
724</dd>
725<dt><code>f</code></dt>
726<dt><code>=frames</code></dt>
727<dd><p>Display the raw contents of a &lsquo;<samp>.debug_frame</samp>&rsquo; section.
728</p>
729</dd>
730<dt><code>F</code></dt>
731<dt><code>=frame-interp</code></dt>
732<dd><p>Display the interpreted contents of a &lsquo;<samp>.debug_frame</samp>&rsquo; section.
733</p>
734</dd>
735<dt><code>g</code></dt>
736<dt><code>=gdb_index</code></dt>
737<dd><p>Displays the contents of the &lsquo;<samp>.gdb_index</samp>&rsquo; and/or
738&lsquo;<samp>.debug_names</samp>&rsquo; sections.
739</p>
740</dd>
741<dt><code>i</code></dt>
742<dt><code>=info</code></dt>
743<dd><p>Displays the contents of the &lsquo;<samp>.debug_info</samp>&rsquo; section.  Note: the
744output from this option can also be restricted by the use of the
745<samp>--dwarf-depth</samp> and <samp>--dwarf-start</samp> options.
746</p>
747</dd>
748<dt><code>k</code></dt>
749<dt><code>=links</code></dt>
750<dd><p>Displays the contents of the &lsquo;<samp>.gnu_debuglink</samp>&rsquo; and/or
751&lsquo;<samp>.gnu_debugaltlink</samp>&rsquo; sections.  Also displays any links to
752separate dwarf object files (dwo), if they are specified by the
753DW_AT_GNU_dwo_name or DW_AT_dwo_name attributes in the
754&lsquo;<samp>.debug_info</samp>&rsquo; section.
755</p>
756</dd>
757<dt><code>K</code></dt>
758<dt><code>=follow-links</code></dt>
759<dd><p>Display the contents of any selected debug sections that are found in
760linked, separate debug info file(s).  This can result in multiple
761versions of the same debug section being displayed if it exists in
762more than one file.
763</p>
764<p>In addition, when displaying DWARF attributes, if a form is found that
765references the separate debug info file, then the referenced contents
766will also be displayed.
767</p>
768</dd>
769<dt><code>l</code></dt>
770<dt><code>=rawline</code></dt>
771<dd><p>Displays the contents of the &lsquo;<samp>.debug_line</samp>&rsquo; section in a raw
772format.
773</p>
774</dd>
775<dt><code>L</code></dt>
776<dt><code>=decodedline</code></dt>
777<dd><p>Displays the interpreted contents of the &lsquo;<samp>.debug_line</samp>&rsquo; section.
778</p>
779</dd>
780<dt><code>m</code></dt>
781<dt><code>=macro</code></dt>
782<dd><p>Displays the contents of the &lsquo;<samp>.debug_macro</samp>&rsquo; and/or
783&lsquo;<samp>.debug_macinfo</samp>&rsquo; sections.
784</p>
785</dd>
786<dt><code>o</code></dt>
787<dt><code>=loc</code></dt>
788<dd><p>Displays the contents of the &lsquo;<samp>.debug_loc</samp>&rsquo; and/or
789&lsquo;<samp>.debug_loclists</samp>&rsquo; sections.
790</p>
791</dd>
792<dt><code>O</code></dt>
793<dt><code>=str-offsets</code></dt>
794<dd><p>Displays the contents of the &lsquo;<samp>.debug_str_offsets</samp>&rsquo; section.
795</p>
796</dd>
797<dt><code>p</code></dt>
798<dt><code>=pubnames</code></dt>
799<dd><p>Displays the contents of the &lsquo;<samp>.debug_pubnames</samp>&rsquo; and/or
800&lsquo;<samp>.debug_gnu_pubnames</samp>&rsquo; sections.
801</p>
802</dd>
803<dt><code>r</code></dt>
804<dt><code>=aranges</code></dt>
805<dd><p>Displays the contents of the &lsquo;<samp>.debug_aranges</samp>&rsquo; section.
806</p>
807</dd>
808<dt><code>R</code></dt>
809<dt><code>=Ranges</code></dt>
810<dd><p>Displays the contents of the &lsquo;<samp>.debug_ranges</samp>&rsquo; and/or
811&lsquo;<samp>.debug_rnglists</samp>&rsquo; sections.
812</p>
813</dd>
814<dt><code>s</code></dt>
815<dt><code>=str</code></dt>
816<dd><p>Displays the contents of the &lsquo;<samp>.debug_str</samp>&rsquo;, &lsquo;<samp>.debug_line_str</samp>&rsquo;
817and/or &lsquo;<samp>.debug_str_offsets</samp>&rsquo; sections.
818</p>
819</dd>
820<dt><code>t</code></dt>
821<dt><code>=pubtype</code></dt>
822<dd><p>Displays the contents of the &lsquo;<samp>.debug_pubtypes</samp>&rsquo; and/or
823&lsquo;<samp>.debug_gnu_pubtypes</samp>&rsquo; sections.
824</p>
825</dd>
826<dt><code>T</code></dt>
827<dt><code>=trace_aranges</code></dt>
828<dd><p>Displays the contents of the &lsquo;<samp>.trace_aranges</samp>&rsquo; section.
829</p>
830</dd>
831<dt><code>u</code></dt>
832<dt><code>=trace_abbrev</code></dt>
833<dd><p>Displays the contents of the &lsquo;<samp>.trace_abbrev</samp>&rsquo; section.
834</p>
835</dd>
836<dt><code>U</code></dt>
837<dt><code>=trace_info</code></dt>
838<dd><p>Displays the contents of the &lsquo;<samp>.trace_info</samp>&rsquo; section.
839</p>
840</dd>
841</dl>
842
843<p>Note: displaying the contents of &lsquo;<samp>.debug_static_funcs</samp>&rsquo;,
844&lsquo;<samp>.debug_static_vars</samp>&rsquo; and &lsquo;<samp>debug_weaknames</samp>&rsquo; sections is not
845currently supported.
846</p>
847</dd>
848<dt><code>--dwarf-depth=<var>n</var></code></dt>
849<dd><p>Limit the dump of the <code>.debug_info</code> section to <var>n</var> children.
850This is only useful with <samp>--debug-dump=info</samp>.  The default is
851to print all DIEs; the special value 0 for <var>n</var> will also have this
852effect.
853</p>
854<p>With a non-zero value for <var>n</var>, DIEs at or deeper than <var>n</var>
855levels will not be printed.  The range for <var>n</var> is zero-based.
856</p>
857</dd>
858<dt><code>--dwarf-start=<var>n</var></code></dt>
859<dd><p>Print only DIEs beginning with the DIE numbered <var>n</var>.  This is only
860useful with <samp>--debug-dump=info</samp>.
861</p>
862<p>If specified, this option will suppress printing of any header
863information and all DIEs before the DIE numbered <var>n</var>.  Only
864siblings and children of the specified DIE will be printed.
865</p>
866<p>This can be used in conjunction with <samp>--dwarf-depth</samp>.
867</p>
868
869</dd>
870<dt><code>--dwarf-check</code></dt>
871<dd><p>Enable additional checks for consistency of Dwarf information.
872</p>
873
874</dd>
875<dt><code>--ctf=<var>section</var></code></dt>
876<dd><a name="index-CTF"></a>
877<a name="index-Compact-Type-Format"></a>
878
879<p>Display the contents of the specified CTF section.  CTF sections themselves
880contain many subsections, all of which are displayed in order.
881</p>
882</dd>
883<dt><code>--ctf-parent=<var>section</var></code></dt>
884<dd>
885<p>Specify the name of another section from which the CTF dictionary can inherit
886types.  (If none is specified, we assume the CTF dictionary inherits types
887from the default-named member of the archive contained within this section.)
888</p>
889</dd>
890<dt><code>-G</code></dt>
891<dt><code>--stabs</code></dt>
892<dd><a name="index-stab"></a>
893<a name="index-_002estab"></a>
894<a name="index-debug-symbols"></a>
895<a name="index-ELF-object-file-format"></a>
896<p>Display the full contents of any sections requested.  Display the
897contents of the .stab and .stab.index and .stab.excl sections from an
898ELF file.  This is only useful on systems (such as Solaris 2.0) in which
899<code>.stab</code> debugging symbol-table entries are carried in an ELF
900section.  In most other file formats, debugging symbol-table entries are
901interleaved with linkage symbols, and are visible in the <samp>--syms</samp>
902output.
903</p>
904</dd>
905<dt><code>--start-address=<var>address</var></code></dt>
906<dd><a name="index-start_002daddress"></a>
907<p>Start displaying data at the specified address.  This affects the output
908of the <samp>-d</samp>, <samp>-r</samp> and <samp>-s</samp> options.
909</p>
910</dd>
911<dt><code>--stop-address=<var>address</var></code></dt>
912<dd><a name="index-stop_002daddress"></a>
913<p>Stop displaying data at the specified address.  This affects the output
914of the <samp>-d</samp>, <samp>-r</samp> and <samp>-s</samp> options.
915</p>
916</dd>
917<dt><code>-t</code></dt>
918<dt><code>--syms</code></dt>
919<dd><a name="index-symbol-table-entries_002c-printing"></a>
920<p>Print the symbol table entries of the file.
921This is similar to the information provided by the &lsquo;<samp>nm</samp>&rsquo; program,
922although the display format is different.  The format of the output
923depends upon the format of the file being dumped, but there are two main
924types.  One looks like this:
925</p>
926<div class="smallexample">
927<pre class="smallexample">[  4](sec  3)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x00000000 .bss
928[  6](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 fred
929</pre></div>
930
931<p>where the number inside the square brackets is the number of the entry
932in the symbol table, the <var>sec</var> number is the section number, the
933<var>fl</var> value are the symbol&rsquo;s flag bits, the <var>ty</var> number is the
934symbol&rsquo;s type, the <var>scl</var> number is the symbol&rsquo;s storage class and
935the <var>nx</var> value is the number of auxiliary entries associated with
936the symbol.  The last two fields are the symbol&rsquo;s value and its name.
937</p>
938<p>The other common output format, usually seen with ELF based files,
939looks like this:
940</p>
941<div class="smallexample">
942<pre class="smallexample">00000000 l    d  .bss   00000000 .bss
94300000000 g       .text  00000000 fred
944</pre></div>
945
946<p>Here the first number is the symbol&rsquo;s value (sometimes referred to as
947its address).  The next field is actually a set of characters and
948spaces indicating the flag bits that are set on the symbol.  These
949characters are described below.  Next is the section with which the
950symbol is associated or <em>*ABS*</em> if the section is absolute (ie
951not connected with any section), or <em>*UND*</em> if the section is
952referenced in the file being dumped, but not defined there.
953</p>
954<p>After the section name comes another field, a number, which for common
955symbols is the alignment and for other symbol is the size.  Finally
956the symbol&rsquo;s name is displayed.
957</p>
958<p>The flag characters are divided into 7 groups as follows:
959</p><dl compact="compact">
960<dt><code>l</code></dt>
961<dt><code>g</code></dt>
962<dt><code>u</code></dt>
963<dt><code>!</code></dt>
964<dd><p>The symbol is a local (l), global (g), unique global (u), neither
965global nor local (a space) or both global and local (!).  A
966symbol can be neither local or global for a variety of reasons, e.g.,
967because it is used for debugging, but it is probably an indication of
968a bug if it is ever both local and global.  Unique global symbols are
969a GNU extension to the standard set of ELF symbol bindings.  For such
970a symbol the dynamic linker will make sure that in the entire process
971there is just one symbol with this name and type in use.
972</p>
973</dd>
974<dt><code>w</code></dt>
975<dd><p>The symbol is weak (w) or strong (a space).
976</p>
977</dd>
978<dt><code>C</code></dt>
979<dd><p>The symbol denotes a constructor (C) or an ordinary symbol (a space).
980</p>
981</dd>
982<dt><code>W</code></dt>
983<dd><p>The symbol is a warning (W) or a normal symbol (a space).  A warning
984symbol&rsquo;s name is a message to be displayed if the symbol following the
985warning symbol is ever referenced.
986</p>
987</dd>
988<dt><code>I</code></dt>
989<dt><code>i</code></dt>
990<dd><p>The symbol is an indirect reference to another symbol (I), a function
991to be evaluated during reloc processing (i) or a normal symbol (a
992space).
993</p>
994</dd>
995<dt><code>d</code></dt>
996<dt><code>D</code></dt>
997<dd><p>The symbol is a debugging symbol (d) or a dynamic symbol (D) or a
998normal symbol (a space).
999</p>
1000</dd>
1001<dt><code>F</code></dt>
1002<dt><code>f</code></dt>
1003<dt><code>O</code></dt>
1004<dd><p>The symbol is the name of a function (F) or a file (f) or an object
1005(O) or just a normal symbol (a space).
1006</p></dd>
1007</dl>
1008
1009</dd>
1010<dt><code>-T</code></dt>
1011<dt><code>--dynamic-syms</code></dt>
1012<dd><a name="index-dynamic-symbol-table-entries_002c-printing"></a>
1013<p>Print the dynamic symbol table entries of the file.  This is only
1014meaningful for dynamic objects, such as certain types of shared
1015libraries.  This is similar to the information provided by the &lsquo;<samp>nm</samp>&rsquo;
1016program when given the <samp>-D</samp> (<samp>--dynamic</samp>) option.
1017</p>
1018<p>The output format is similar to that produced by the <samp>--syms</samp>
1019option, except that an extra field is inserted before the symbol&rsquo;s
1020name, giving the version information associated with the symbol.
1021If the version is the default version to be used when resolving
1022unversioned references to the symbol then it&rsquo;s displayed as is,
1023otherwise it&rsquo;s put into parentheses.
1024</p>
1025</dd>
1026<dt><code>--special-syms</code></dt>
1027<dd><p>When displaying symbols include those which the target considers to be
1028special in some way and which would not normally be of interest to the
1029user.
1030</p>
1031</dd>
1032<dt><code>-V</code></dt>
1033<dt><code>--version</code></dt>
1034<dd><p>Print the version number of <code>objdump</code> and exit.
1035</p>
1036</dd>
1037<dt><code>-x</code></dt>
1038<dt><code>--all-headers</code></dt>
1039<dd><a name="index-all-header-information_002c-object-file"></a>
1040<a name="index-header-information_002c-all"></a>
1041<p>Display all available header information, including the symbol table and
1042relocation entries.  Using <samp>-x</samp> is equivalent to specifying all of
1043<samp>-a -f -h -p -r -t</samp>.
1044</p>
1045</dd>
1046<dt><code>-w</code></dt>
1047<dt><code>--wide</code></dt>
1048<dd><a name="index-wide-output_002c-printing"></a>
1049<p>Format some lines for output devices that have more than 80 columns.
1050Also do not truncate symbol names when they are displayed.
1051</p>
1052</dd>
1053<dt><code>-z</code></dt>
1054<dt><code>--disassemble-zeroes</code></dt>
1055<dd><p>Normally the disassembly output will skip blocks of zeroes.  This
1056option directs the disassembler to disassemble those blocks, just like
1057any other data.
1058</p></dd>
1059</dl>
1060
1061
1062
1063<hr>
1064<div class="header">
1065<p>
1066Next: <a href="ranlib.html#ranlib" accesskey="n" rel="next">ranlib</a>, Previous: <a href="objcopy.html#objcopy" accesskey="p" rel="previous">objcopy</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Binutils-Index.html#Binutils-Index" title="Index" rel="index">Index</a>]</p>
1067</div>
1068
1069
1070
1071</body>
1072</html>
1073