1OBJDUMP(1)                   GNU Development Tools                  OBJDUMP(1)
2
3
4

NAME

6       objdump - display information from object files
7

SYNOPSIS

9       objdump [-a|--archive-headers]
10               [-b bfdname|--target=bfdname]
11               [-C|--demangle[=style] ]
12               [-d|--disassemble[=symbol]]
13               [-D|--disassemble-all]
14               [-z|--disassemble-zeroes]
15               [-EB|-EL|--endian={big | little }]
16               [-f|--file-headers]
17               [-F|--file-offsets]
18               [--file-start-context]
19               [-g|--debugging]
20               [-e|--debugging-tags]
21               [-h|--section-headers|--headers]
22               [-i|--info]
23               [-j section|--section=section]
24               [-l|--line-numbers]
25               [-S|--source]
26               [--source-comment[=text]]
27               [-m machine|--architecture=machine]
28               [-M options|--disassembler-options=options]
29               [-p|--private-headers]
30               [-P options|--private=options]
31               [-r|--reloc]
32               [-R|--dynamic-reloc]
33               [-s|--full-contents]
34               [-W[lLiaprmfFsoRtUuTgAckK]|
35                --dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges,=gdb_index,=addr,=cu_index,=links,=follow-links]]
36               [--ctf=section]
37               [-G|--stabs]
38               [-t|--syms]
39               [-T|--dynamic-syms]
40               [-x|--all-headers]
41               [-w|--wide]
42               [--start-address=address]
43               [--stop-address=address]
44               [--prefix-addresses]
45               [--[no-]show-raw-insn]
46               [--adjust-vma=offset]
47               [--dwarf-depth=n]
48               [--dwarf-start=n]
49               [--ctf-parent=section]
50               [--no-recurse-limit|--recurse-limit]
51               [--special-syms]
52               [--prefix=prefix]
53               [--prefix-strip=level]
54               [--insn-width=width]
55               [--visualize-jumps[=color|=extended-color|=off]
56               [-V|--version]
57               [-H|--help]
58               objfile...
59

DESCRIPTION

61       objdump displays information about one or more object files.  The
62       options control what particular information to display.  This
63       information is mostly useful to programmers who are working on the
64       compilation tools, as opposed to programmers who just want their
65       program to compile and work.
66
67       objfile... are the object files to be examined.  When you specify
68       archives, objdump shows information on each of the member object files.
69

OPTIONS

71       The long and short forms of options, shown here as alternatives, are
72       equivalent.  At least one option from the list
73       -a,-d,-D,-e,-f,-g,-G,-h,-H,-p,-P,-r,-R,-s,-S,-t,-T,-V,-x must be given.
74
75       -a
76       --archive-header
77           If any of the objfile files are archives, display the archive
78           header information (in a format similar to ls -l).  Besides the
79           information you could list with ar tv, objdump -a shows the object
80           file format of each archive member.
81
82       --adjust-vma=offset
83           When dumping information, first add offset to all the section
84           addresses.  This is useful if the section addresses do not
85           correspond to the symbol table, which can happen when putting
86           sections at particular addresses when using a format which can not
87           represent section addresses, such as a.out.
88
89       -b bfdname
90       --target=bfdname
91           Specify that the object-code format for the object files is
92           bfdname.  This option may not be necessary; objdump can
93           automatically recognize many formats.
94
95           For example,
96
97                   objdump -b oasys -m vax -h fu.o
98
99           displays summary information from the section headers (-h) of fu.o,
100           which is explicitly identified (-m) as a VAX object file in the
101           format produced by Oasys compilers.  You can list the formats
102           available with the -i option.
103
104       -C
105       --demangle[=style]
106           Decode (demangle) low-level symbol names into user-level names.
107           Besides removing any initial underscore prepended by the system,
108           this makes C++ function names readable.  Different compilers have
109           different mangling styles. The optional demangling style argument
110           can be used to choose an appropriate demangling style for your
111           compiler.
112
113       --recurse-limit
114       --no-recurse-limit
115       --recursion-limit
116       --no-recursion-limit
117           Enables or disables a limit on the amount of recursion performed
118           whilst demangling strings.  Since the name mangling formats allow
119           for an inifinite level of recursion it is possible to create
120           strings whose decoding will exhaust the amount of stack space
121           available on the host machine, triggering a memory fault.  The
122           limit tries to prevent this from happening by restricting recursion
123           to 2048 levels of nesting.
124
125           The default is for this limit to be enabled, but disabling it may
126           be necessary in order to demangle truly complicated names.  Note
127           however that if the recursion limit is disabled then stack
128           exhaustion is possible and any bug reports about such an event will
129           be rejected.
130
131       -g
132       --debugging
133           Display debugging information.  This attempts to parse STABS
134           debugging format information stored in the file and print it out
135           using a C like syntax.  If no STABS debuging was found this option
136           falls back on the -W option to print any DWARF information in the
137           file.
138
139       -e
140       --debugging-tags
141           Like -g, but the information is generated in a format compatible
142           with ctags tool.
143
144       -d
145       --disassemble
146       --disassemble=symbol
147           Display the assembler mnemonics for the machine instructions from
148           the input file.  This option only disassembles those sections which
149           are expected to contain instructions.  If the optional symbol
150           argument is given, then display the assembler mnemonics starting at
151           symbol.  If symbol is a function name then disassembly will stop at
152           the end of the function, otherwise it will stop when the next
153           symbol is encountered.  If there are no matches for symbol then
154           nothing will be displayed.
155
156           Note if the --dwarf=follow-links option has also been enabled then
157           any symbol tables in linked debug info files will be read in and
158           used when disassembling.
159
160       -D
161       --disassemble-all
162           Like -d, but disassemble the contents of all sections, not just
163           those expected to contain instructions.
164
165           This option also has a subtle effect on the disassembly of
166           instructions in code sections.  When option -d is in effect objdump
167           will assume that any symbols present in a code section occur on the
168           boundary between instructions and it will refuse to disassemble
169           across such a boundary.  When option -D is in effect however this
170           assumption is supressed.  This means that it is possible for the
171           output of -d and -D to differ if, for example, data is stored in
172           code sections.
173
174           If the target is an ARM architecture this switch also has the
175           effect of forcing the disassembler to decode pieces of data found
176           in code sections as if they were instructions.
177
178           Note if the --dwarf=follow-links option has also been enabled then
179           any symbol tables in linked debug info files will be read in and
180           used when disassembling.
181
182       --prefix-addresses
183           When disassembling, print the complete address on each line.  This
184           is the older disassembly format.
185
186       -EB
187       -EL
188       --endian={big|little}
189           Specify the endianness of the object files.  This only affects
190           disassembly.  This can be useful when disassembling a file format
191           which does not describe endianness information, such as S-records.
192
193       -f
194       --file-headers
195           Display summary information from the overall header of each of the
196           objfile files.
197
198       -F
199       --file-offsets
200           When disassembling sections, whenever a symbol is displayed, also
201           display the file offset of the region of data that is about to be
202           dumped.  If zeroes are being skipped, then when disassembly
203           resumes, tell the user how many zeroes were skipped and the file
204           offset of the location from where the disassembly resumes.  When
205           dumping sections, display the file offset of the location from
206           where the dump starts.
207
208       --file-start-context
209           Specify that when displaying interlisted source code/disassembly
210           (assumes -S) from a file that has not yet been displayed, extend
211           the context to the start of the file.
212
213       -h
214       --section-headers
215       --headers
216           Display summary information from the section headers of the object
217           file.
218
219           File segments may be relocated to nonstandard addresses, for
220           example by using the -Ttext, -Tdata, or -Tbss options to ld.
221           However, some object file formats, such as a.out, do not store the
222           starting address of the file segments.  In those situations,
223           although ld relocates the sections correctly, using objdump -h to
224           list the file section headers cannot show the correct addresses.
225           Instead, it shows the usual addresses, which are implicit for the
226           target.
227
228           Note, in some cases it is possible for a section to have both the
229           READONLY and the NOREAD attributes set.  In such cases the NOREAD
230           attribute takes precedence, but objdump will report both since the
231           exact setting of the flag bits might be important.
232
233       -H
234       --help
235           Print a summary of the options to objdump and exit.
236
237       -i
238       --info
239           Display a list showing all architectures and object formats
240           available for specification with -b or -m.
241
242       -j name
243       --section=name
244           Display information only for section name.
245
246       -l
247       --line-numbers
248           Label the display (using debugging information) with the filename
249           and source line numbers corresponding to the object code or relocs
250           shown.  Only useful with -d, -D, or -r.
251
252       -m machine
253       --architecture=machine
254           Specify the architecture to use when disassembling object files.
255           This can be useful when disassembling object files which do not
256           describe architecture information, such as S-records.  You can list
257           the available architectures with the -i option.
258
259           If the target is an ARM architecture then this switch has an
260           additional effect.  It restricts the disassembly to only those
261           instructions supported by the architecture specified by machine.
262           If it is necessary to use this switch because the input file does
263           not contain any architecture information, but it is also desired to
264           disassemble all the instructions use -marm.
265
266       -M options
267       --disassembler-options=options
268           Pass target specific information to the disassembler.  Only
269           supported on some targets.  If it is necessary to specify more than
270           one disassembler option then multiple -M options can be used or can
271           be placed together into a comma separated list.
272
273           For ARC, dsp controls the printing of DSP instructions, spfp
274           selects the printing of FPX single precision FP instructions, dpfp
275           selects the printing of FPX double precision FP instructions,
276           quarkse_em selects the printing of special QuarkSE-EM instructions,
277           fpuda selects the printing of double precision assist instructions,
278           fpus selects the printing of FPU single precision FP instructions,
279           while fpud selects the printing of FPU double precision FP
280           instructions.  Additionally, one can choose to have all the
281           immediates printed in hexadecimal using hex.  By default, the short
282           immediates are printed using the decimal representation, while the
283           long immediate values are printed as hexadecimal.
284
285           cpu=... allows to enforce a particular ISA when disassembling
286           instructions, overriding the -m value or whatever is in the ELF
287           file.  This might be useful to select ARC EM or HS ISA, because
288           architecture is same for those and disassembler relies on private
289           ELF header data to decide if code is for EM or HS.  This option
290           might be specified multiple times - only the latest value will be
291           used.  Valid values are same as for the assembler -mcpu=... option.
292
293           If the target is an ARM architecture then this switch can be used
294           to select which register name set is used during disassembler.
295           Specifying -M reg-names-std (the default) will select the register
296           names as used in ARM's instruction set documentation, but with
297           register 13 called 'sp', register 14 called 'lr' and register 15
298           called 'pc'.  Specifying -M reg-names-apcs will select the name set
299           used by the ARM Procedure Call Standard, whilst specifying -M reg-
300           names-raw will just use r followed by the register number.
301
302           There are also two variants on the APCS register naming scheme
303           enabled by -M reg-names-atpcs and -M reg-names-special-atpcs which
304           use the ARM/Thumb Procedure Call Standard naming conventions.
305           (Either with the normal register names or the special register
306           names).
307
308           This option can also be used for ARM architectures to force the
309           disassembler to interpret all instructions as Thumb instructions by
310           using the switch --disassembler-options=force-thumb.  This can be
311           useful when attempting to disassemble thumb code produced by other
312           compilers.
313
314           For AArch64 targets this switch can be used to set whether
315           instructions are disassembled as the most general instruction using
316           the -M no-aliases option or whether instruction notes should be
317           generated as comments in the disasssembly using -M notes.
318
319           For the x86, some of the options duplicate functions of the -m
320           switch, but allow finer grained control.  Multiple selections from
321           the following may be specified as a comma separated string.
322
323           "x86-64"
324           "i386"
325           "i8086"
326               Select disassembly for the given architecture.
327
328           "intel"
329           "att"
330               Select between intel syntax mode and AT&T syntax mode.
331
332           "amd64"
333           "intel64"
334               Select between AMD64 ISA and Intel64 ISA.
335
336           "intel-mnemonic"
337           "att-mnemonic"
338               Select between intel mnemonic mode and AT&T mnemonic mode.
339               Note: "intel-mnemonic" implies "intel" and "att-mnemonic"
340               implies "att".
341
342           "addr64"
343           "addr32"
344           "addr16"
345           "data32"
346           "data16"
347               Specify the default address size and operand size.  These five
348               options will be overridden if "x86-64", "i386" or "i8086"
349               appear later in the option string.
350
351           "suffix"
352               When in AT&T mode, instructs the disassembler to print a
353               mnemonic suffix even when the suffix could be inferred by the
354               operands.
355
356           For PowerPC, the -M argument raw selects disasssembly of hardware
357           insns rather than aliases.  For example, you will see "rlwinm"
358           rather than "clrlwi", and "addi" rather than "li".  All of the -m
359           arguments for gas that select a CPU are supported.  These are: 403,
360           405, 440, 464, 476, 601, 603, 604, 620, 7400, 7410, 7450, 7455,
361           750cl, 821, 850, 860, a2, booke, booke32, cell, com, e200z4, e300,
362           e500, e500mc, e500mc64, e500x2, e5500, e6500, efs, power4, power5,
363           power6, power7, power8, power9, ppc, ppc32, ppc64, ppc64bridge,
364           ppcps, pwr, pwr2, pwr4, pwr5, pwr5x, pwr6, pwr7, pwr8, pwr9, pwrx,
365           titan, and vle.  32 and 64 modify the default or a prior CPU
366           selection, disabling and enabling 64-bit insns respectively.  In
367           addition, altivec, any, htm, vsx, and spe add capabilities to a
368           previous or later CPU selection.  any will disassemble any opcode
369           known to binutils, but in cases where an opcode has two different
370           meanings or different arguments, you may not see the disassembly
371           you expect.  If you disassemble without giving a CPU selection, a
372           default will be chosen from information gleaned by BFD from the
373           object files headers, but the result again may not be as you
374           expect.
375
376           For MIPS, this option controls the printing of instruction mnemonic
377           names and register names in disassembled instructions.  Multiple
378           selections from the following may be specified as a comma separated
379           string, and invalid options are ignored:
380
381           "no-aliases"
382               Print the 'raw' instruction mnemonic instead of some pseudo
383               instruction mnemonic.  I.e., print 'daddu' or 'or' instead of
384               'move', 'sll' instead of 'nop', etc.
385
386           "msa"
387               Disassemble MSA instructions.
388
389           "virt"
390               Disassemble the virtualization ASE instructions.
391
392           "xpa"
393               Disassemble the eXtended Physical Address (XPA) ASE
394               instructions.
395
396           "gpr-names=ABI"
397               Print GPR (general-purpose register) names as appropriate for
398               the specified ABI.  By default, GPR names are selected
399               according to the ABI of the binary being disassembled.
400
401           "fpr-names=ABI"
402               Print FPR (floating-point register) names as appropriate for
403               the specified ABI.  By default, FPR numbers are printed rather
404               than names.
405
406           "cp0-names=ARCH"
407               Print CP0 (system control coprocessor; coprocessor 0) register
408               names as appropriate for the CPU or architecture specified by
409               ARCH.  By default, CP0 register names are selected according to
410               the architecture and CPU of the binary being disassembled.
411
412           "hwr-names=ARCH"
413               Print HWR (hardware register, used by the "rdhwr" instruction)
414               names as appropriate for the CPU or architecture specified by
415               ARCH.  By default, HWR names are selected according to the
416               architecture and CPU of the binary being disassembled.
417
418           "reg-names=ABI"
419               Print GPR and FPR names as appropriate for the selected ABI.
420
421           "reg-names=ARCH"
422               Print CPU-specific register names (CP0 register and HWR names)
423               as appropriate for the selected CPU or architecture.
424
425           For any of the options listed above, ABI or ARCH may be specified
426           as numeric to have numbers printed rather than names, for the
427           selected types of registers.  You can list the available values of
428           ABI and ARCH using the --help option.
429
430           For VAX, you can specify function entry addresses with -M
431           entry:0xf00ba.  You can use this multiple times to properly
432           disassemble VAX binary files that don't contain symbol tables (like
433           ROM dumps).  In these cases, the function entry mask would
434           otherwise be decoded as VAX instructions, which would probably lead
435           the rest of the function being wrongly disassembled.
436
437       -p
438       --private-headers
439           Print information that is specific to the object file format.  The
440           exact information printed depends upon the object file format.  For
441           some object file formats, no additional information is printed.
442
443       -P options
444       --private=options
445           Print information that is specific to the object file format.  The
446           argument options is a comma separated list that depends on the
447           format (the lists of options is displayed with the help).
448
449           For XCOFF, the available options are:
450
451           "header"
452           "aout"
453           "sections"
454           "syms"
455           "relocs"
456           "lineno,"
457           "loader"
458           "except"
459           "typchk"
460           "traceback"
461           "toc"
462           "ldinfo"
463
464           Not all object formats support this option.  In particular the ELF
465           format does not use it.
466
467       -r
468       --reloc
469           Print the relocation entries of the file.  If used with -d or -D,
470           the relocations are printed interspersed with the disassembly.
471
472       -R
473       --dynamic-reloc
474           Print the dynamic relocation entries of the file.  This is only
475           meaningful for dynamic objects, such as certain types of shared
476           libraries.  As for -r, if used with -d or -D, the relocations are
477           printed interspersed with the disassembly.
478
479       -s
480       --full-contents
481           Display the full contents of any sections requested.  By default
482           all non-empty sections are displayed.
483
484       -S
485       --source
486           Display source code intermixed with disassembly, if possible.
487           Implies -d.
488
489       --source-comment[=txt]
490           Like the -S option, but all source code lines are displayed with a
491           prefix of txt.  Typically txt will be a comment string which can be
492           used to distinguish the assembler code from the source code.  If
493           txt is not provided then a default string of "# " (hash followed by
494           a space), will be used.
495
496       --prefix=prefix
497           Specify prefix to add to the absolute paths when used with -S.
498
499       --prefix-strip=level
500           Indicate how many initial directory names to strip off the
501           hardwired absolute paths. It has no effect without --prefix=prefix.
502
503       --show-raw-insn
504           When disassembling instructions, print the instruction in hex as
505           well as in symbolic form.  This is the default except when
506           --prefix-addresses is used.
507
508       --no-show-raw-insn
509           When disassembling instructions, do not print the instruction
510           bytes.  This is the default when --prefix-addresses is used.
511
512       --insn-width=width
513           Display width bytes on a single line when disassembling
514           instructions.
515
516       --visualize-jumps[=color|=extended-color|=off]
517           Visualize jumps that stay inside a function by drawing ASCII art
518           between the start and target addresses.  The optional =color
519           argument adds color to the output using simple terminal colors.
520           Alternatively the =extended-color argument will add color using
521           8bit colors, but these might not work on all terminals.
522
523           If it is necessary to disable the visualize-jumps option after it
524           has previously been enabled then use visualize-jumps=off.
525
526       -W[lLiaprmfFsoRtUuTgAckK]
527       --dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges,=gdb_index,=addr,=cu_index,=links,=follow-links]
528           Displays the contents of the DWARF debug sections in the file, if
529           any are present.  Compressed debug sections are automatically
530           decompressed (temporarily) before they are displayed.  If one or
531           more of the optional letters or words follows the switch then only
532           those type(s) of data will be dumped.  The letters and words refer
533           to the following information:
534
535           "a"
536           "=abbrev"
537               Displays the contents of the .debug_abbrev section.
538
539           "A"
540           "=addr"
541               Displays the contents of the .debug_addr section.
542
543           "c"
544           "=cu_index"
545               Displays the contents of the .debug_cu_index and/or
546               .debug_tu_index sections.
547
548           "f"
549           "=frames"
550               Display the raw contents of a .debug_frame section.
551
552           "F"
553           "=frame-interp"
554               Display the interpreted contents of a .debug_frame section.
555
556           "g"
557           "=gdb_index"
558               Displays the contents of the .gdb_index and/or .debug_names
559               sections.
560
561           "i"
562           "=info"
563               Displays the contents of the .debug_info section.  Note: the
564               output from this option can also be restricted by the use of
565               the --dwarf-depth and --dwarf-start options.
566
567           "k"
568           "=links"
569               Displays the contents of the .gnu_debuglink and/or
570               .gnu_debugaltlink sections.  Also displays any links to
571               separate dwarf object files (dwo), if they are specified by the
572               DW_AT_GNU_dwo_name or DW_AT_dwo_name attributes in the
573               .debug_info section.
574
575           "K"
576           "=follow-links"
577               Display the contents of any selected debug sections that are
578               found in linked, separate debug info file(s).  This can result
579               in multiple versions of the same debug section being displayed
580               if it exists in more than one file.
581
582               In addition, when displaying DWARF attributes, if a form is
583               found that references the separate debug info file, then the
584               referenced contents will also be displayed.
585
586           "l"
587           "=rawline"
588               Displays the contents of the .debug_line section in a raw
589               format.
590
591           "L"
592           "=decodedline"
593               Displays the interpreted contents of the .debug_line section.
594
595           "m"
596           "=macro"
597               Displays the contents of the .debug_macro and/or .debug_macinfo
598               sections.
599
600           "o"
601           "=loc"
602               Displays the contents of the .debug_loc and/or .debug_loclists
603               sections.
604
605           "p"
606           "=pubnames"
607               Displays the contents of the .debug_pubnames and/or
608               .debug_gnu_pubnames sections.
609
610           "r"
611           "=aranges"
612               Displays the contents of the .debug_aranges section.
613
614           "R"
615           "=Ranges"
616               Displays the contents of the .debug_ranges and/or
617               .debug_rnglists sections.
618
619           "s"
620           "=str"
621               Displays the contents of the .debug_str, .debug_line_str and/or
622               .debug_str_offsets sections.
623
624           "t"
625           "=pubtype"
626               Displays the contents of the .debug_pubtypes and/or
627               .debug_gnu_pubtypes sections.
628
629           "T"
630           "=trace_aranges"
631               Displays the contents of the .trace_aranges section.
632
633           "u"
634           "=trace_abbrev"
635               Displays the contents of the .trace_abbrev section.
636
637           "U"
638           "=trace_info"
639               Displays the contents of the .trace_info section.
640
641           Note: displaying the contents of .debug_static_funcs,
642           .debug_static_vars and debug_weaknames sections is not currently
643           supported.
644
645       --dwarf-depth=n
646           Limit the dump of the ".debug_info" section to n children.  This is
647           only useful with --debug-dump=info.  The default is to print all
648           DIEs; the special value 0 for n will also have this effect.
649
650           With a non-zero value for n, DIEs at or deeper than n levels will
651           not be printed.  The range for n is zero-based.
652
653       --dwarf-start=n
654           Print only DIEs beginning with the DIE numbered n.  This is only
655           useful with --debug-dump=info.
656
657           If specified, this option will suppress printing of any header
658           information and all DIEs before the DIE numbered n.  Only siblings
659           and children of the specified DIE will be printed.
660
661           This can be used in conjunction with --dwarf-depth.
662
663       --dwarf-check
664           Enable additional checks for consistency of Dwarf information.
665
666       --ctf=section
667           Display the contents of the specified CTF section.  CTF sections
668           themselves contain many subsections, all of which are displayed in
669           order.
670
671       --ctf-parent=section
672           Specify the name of another section from which the CTF dictionary
673           can inherit types.  (If none is specified, we assume the CTF
674           dictionary inherits types from the default-named member of the
675           archive contained within this section.)
676
677       -G
678       --stabs
679           Display the full contents of any sections requested.  Display the
680           contents of the .stab and .stab.index and .stab.excl sections from
681           an ELF file.  This is only useful on systems (such as Solaris 2.0)
682           in which ".stab" debugging symbol-table entries are carried in an
683           ELF section.  In most other file formats, debugging symbol-table
684           entries are interleaved with linkage symbols, and are visible in
685           the --syms output.
686
687       --start-address=address
688           Start displaying data at the specified address.  This affects the
689           output of the -d, -r and -s options.
690
691       --stop-address=address
692           Stop displaying data at the specified address.  This affects the
693           output of the -d, -r and -s options.
694
695       -t
696       --syms
697           Print the symbol table entries of the file.  This is similar to the
698           information provided by the nm program, although the display format
699           is different.  The format of the output depends upon the format of
700           the file being dumped, but there are two main types.  One looks
701           like this:
702
703                   [  4](sec  3)(fl 0x00)(ty   0)(scl   3) (nx 1) 0x00000000 .bss
704                   [  6](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 fred
705
706           where the number inside the square brackets is the number of the
707           entry in the symbol table, the sec number is the section number,
708           the fl value are the symbol's flag bits, the ty number is the
709           symbol's type, the scl number is the symbol's storage class and the
710           nx value is the number of auxilary entries associated with the
711           symbol.  The last two fields are the symbol's value and its name.
712
713           The other common output format, usually seen with ELF based files,
714           looks like this:
715
716                   00000000 l    d  .bss   00000000 .bss
717                   00000000 g       .text  00000000 fred
718
719           Here the first number is the symbol's value (sometimes refered to
720           as its address).  The next field is actually a set of characters
721           and spaces indicating the flag bits that are set on the symbol.
722           These characters are described below.  Next is the section with
723           which the symbol is associated or *ABS* if the section is absolute
724           (ie not connected with any section), or *UND* if the section is
725           referenced in the file being dumped, but not defined there.
726
727           After the section name comes another field, a number, which for
728           common symbols is the alignment and for other symbol is the size.
729           Finally the symbol's name is displayed.
730
731           The flag characters are divided into 7 groups as follows:
732
733           "l"
734           "g"
735           "u"
736           "!" The symbol is a local (l), global (g), unique global (u),
737               neither global nor local (a space) or both global and local
738               (!).  A symbol can be neither local or global for a variety of
739               reasons, e.g., because it is used for debugging, but it is
740               probably an indication of a bug if it is ever both local and
741               global.  Unique global symbols are a GNU extension to the
742               standard set of ELF symbol bindings.  For such a symbol the
743               dynamic linker will make sure that in the entire process there
744               is just one symbol with this name and type in use.
745
746           "w" The symbol is weak (w) or strong (a space).
747
748           "C" The symbol denotes a constructor (C) or an ordinary symbol (a
749               space).
750
751           "W" The symbol is a warning (W) or a normal symbol (a space).  A
752               warning symbol's name is a message to be displayed if the
753               symbol following the warning symbol is ever referenced.
754
755           "I"
756           "i" The symbol is an indirect reference to another symbol (I), a
757               function to be evaluated during reloc processing (i) or a
758               normal symbol (a space).
759
760           "d"
761           "D" The symbol is a debugging symbol (d) or a dynamic symbol (D) or
762               a normal symbol (a space).
763
764           "F"
765           "f"
766           "O" The symbol is the name of a function (F) or a file (f) or an
767               object (O) or just a normal symbol (a space).
768
769       -T
770       --dynamic-syms
771           Print the dynamic symbol table entries of the file.  This is only
772           meaningful for dynamic objects, such as certain types of shared
773           libraries.  This is similar to the information provided by the nm
774           program when given the -D (--dynamic) option.
775
776           The output format is similar to that produced by the --syms option,
777           except that an extra field is inserted before the symbol's name,
778           giving the version information associated with the symbol.  If the
779           version is the default version to be used when resolving
780           unversioned references to the symbol then it's displayed as is,
781           otherwise it's put into parentheses.
782
783       --special-syms
784           When displaying symbols include those which the target considers to
785           be special in some way and which would not normally be of interest
786           to the user.
787
788       -V
789       --version
790           Print the version number of objdump and exit.
791
792       -x
793       --all-headers
794           Display all available header information, including the symbol
795           table and relocation entries.  Using -x is equivalent to specifying
796           all of -a -f -h -p -r -t.
797
798       -w
799       --wide
800           Format some lines for output devices that have more than 80
801           columns.  Also do not truncate symbol names when they are
802           displayed.
803
804       -z
805       --disassemble-zeroes
806           Normally the disassembly output will skip blocks of zeroes.  This
807           option directs the disassembler to disassemble those blocks, just
808           like any other data.
809
810       @file
811           Read command-line options from file.  The options read are inserted
812           in place of the original @file option.  If file does not exist, or
813           cannot be read, then the option will be treated literally, and not
814           removed.
815
816           Options in file are separated by whitespace.  A whitespace
817           character may be included in an option by surrounding the entire
818           option in either single or double quotes.  Any character (including
819           a backslash) may be included by prefixing the character to be
820           included with a backslash.  The file may itself contain additional
821           @file options; any such options will be processed recursively.
822

SEE ALSO

824       nm(1), readelf(1), and the Info entries for binutils.
825
827       Copyright (c) 1991-2020 Free Software Foundation, Inc.
828
829       Permission is granted to copy, distribute and/or modify this document
830       under the terms of the GNU Free Documentation License, Version 1.3 or
831       any later version published by the Free Software Foundation; with no
832       Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
833       Texts.  A copy of the license is included in the section entitled "GNU
834       Free Documentation License".
835
836
837
838binutils-2.34                     2020-02-27                        OBJDUMP(1)
Impressum