riscv64-unknown-elf-objdump.1 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383
  1. .\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
  2. .\"
  3. .\" Standard preamble:
  4. .\" ========================================================================
  5. .de Sp \" Vertical space (when we can't use .PP)
  6. .if t .sp .5v
  7. .if n .sp
  8. ..
  9. .de Vb \" Begin verbatim text
  10. .ft CW
  11. .nf
  12. .ne \\$1
  13. ..
  14. .de Ve \" End verbatim text
  15. .ft R
  16. .fi
  17. ..
  18. .\" Set up some character translations and predefined strings. \*(-- will
  19. .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
  20. .\" double quote, and \*(R" will give a right double quote. \*(C+ will
  21. .\" give a nicer C++. Capital omega is used to do unbreakable dashes and
  22. .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
  23. .\" nothing in troff, for use with C<>.
  24. .tr \(*W-
  25. .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
  26. .ie n \{\
  27. . ds -- \(*W-
  28. . ds PI pi
  29. . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
  30. . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
  31. . ds L" ""
  32. . ds R" ""
  33. . ds C` ""
  34. . ds C' ""
  35. 'br\}
  36. .el\{\
  37. . ds -- \|\(em\|
  38. . ds PI \(*p
  39. . ds L" ``
  40. . ds R" ''
  41. . ds C`
  42. . ds C'
  43. 'br\}
  44. .\"
  45. .\" Escape single quotes in literal strings from groff's Unicode transform.
  46. .ie \n(.g .ds Aq \(aq
  47. .el .ds Aq '
  48. .\"
  49. .\" If the F register is >0, we'll generate index entries on stderr for
  50. .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
  51. .\" entries marked with X<> in POD. Of course, you'll have to process the
  52. .\" output yourself in some meaningful fashion.
  53. .\"
  54. .\" Avoid warning from groff about undefined register 'F'.
  55. .de IX
  56. ..
  57. .nr rF 0
  58. .if \n(.g .if rF .nr rF 1
  59. .if (\n(rF:(\n(.g==0)) \{\
  60. . if \nF \{\
  61. . de IX
  62. . tm Index:\\$1\t\\n%\t"\\$2"
  63. ..
  64. . if !\nF==2 \{\
  65. . nr % 0
  66. . nr F 2
  67. . \}
  68. . \}
  69. .\}
  70. .rr rF
  71. .\"
  72. .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
  73. .\" Fear. Run. Save yourself. No user-serviceable parts.
  74. . \" fudge factors for nroff and troff
  75. .if n \{\
  76. . ds #H 0
  77. . ds #V .8m
  78. . ds #F .3m
  79. . ds #[ \f1
  80. . ds #] \fP
  81. .\}
  82. .if t \{\
  83. . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
  84. . ds #V .6m
  85. . ds #F 0
  86. . ds #[ \&
  87. . ds #] \&
  88. .\}
  89. . \" simple accents for nroff and troff
  90. .if n \{\
  91. . ds ' \&
  92. . ds ` \&
  93. . ds ^ \&
  94. . ds , \&
  95. . ds ~ ~
  96. . ds /
  97. .\}
  98. .if t \{\
  99. . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
  100. . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
  101. . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
  102. . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
  103. . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
  104. . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
  105. .\}
  106. . \" troff and (daisy-wheel) nroff accents
  107. .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
  108. .ds 8 \h'\*(#H'\(*b\h'-\*(#H'
  109. .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
  110. .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
  111. .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
  112. .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
  113. .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
  114. .ds ae a\h'-(\w'a'u*4/10)'e
  115. .ds Ae A\h'-(\w'A'u*4/10)'E
  116. . \" corrections for vroff
  117. .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
  118. .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
  119. . \" for low resolution devices (crt and lpr)
  120. .if \n(.H>23 .if \n(.V>19 \
  121. \{\
  122. . ds : e
  123. . ds 8 ss
  124. . ds o a
  125. . ds d- d\h'-1'\(ga
  126. . ds D- D\h'-1'\(hy
  127. . ds th \o'bp'
  128. . ds Th \o'LP'
  129. . ds ae ae
  130. . ds Ae AE
  131. .\}
  132. .rm #[ #] #H #V #F C
  133. .\" ========================================================================
  134. .\"
  135. .IX Title "OBJDUMP 1"
  136. .TH OBJDUMP 1 "2022-04-26" "binutils-2.38" "GNU Development Tools"
  137. .\" For nroff, turn off justification. Always turn off hyphenation; it makes
  138. .\" way too many mistakes in technical documents.
  139. .if n .ad l
  140. .nh
  141. .SH "NAME"
  142. objdump \- display information from object files
  143. .SH "SYNOPSIS"
  144. .IX Header "SYNOPSIS"
  145. objdump [\fB\-a\fR|\fB\-\-archive\-headers\fR]
  146. [\fB\-b\fR \fIbfdname\fR|\fB\-\-target=\fR\fIbfdname\fR]
  147. [\fB\-C\fR|\fB\-\-demangle\fR[=\fIstyle\fR] ]
  148. [\fB\-d\fR|\fB\-\-disassemble\fR[=\fIsymbol\fR]]
  149. [\fB\-D\fR|\fB\-\-disassemble\-all\fR]
  150. [\fB\-z\fR|\fB\-\-disassemble\-zeroes\fR]
  151. [\fB\-EB\fR|\fB\-EL\fR|\fB\-\-endian=\fR{big | little }]
  152. [\fB\-f\fR|\fB\-\-file\-headers\fR]
  153. [\fB\-F\fR|\fB\-\-file\-offsets\fR]
  154. [\fB\-\-file\-start\-context\fR]
  155. [\fB\-g\fR|\fB\-\-debugging\fR]
  156. [\fB\-e\fR|\fB\-\-debugging\-tags\fR]
  157. [\fB\-h\fR|\fB\-\-section\-headers\fR|\fB\-\-headers\fR]
  158. [\fB\-i\fR|\fB\-\-info\fR]
  159. [\fB\-j\fR \fIsection\fR|\fB\-\-section=\fR\fIsection\fR]
  160. [\fB\-l\fR|\fB\-\-line\-numbers\fR]
  161. [\fB\-S\fR|\fB\-\-source\fR]
  162. [\fB\-\-source\-comment\fR[=\fItext\fR]]
  163. [\fB\-m\fR \fImachine\fR|\fB\-\-architecture=\fR\fImachine\fR]
  164. [\fB\-M\fR \fIoptions\fR|\fB\-\-disassembler\-options=\fR\fIoptions\fR]
  165. [\fB\-p\fR|\fB\-\-private\-headers\fR]
  166. [\fB\-P\fR \fIoptions\fR|\fB\-\-private=\fR\fIoptions\fR]
  167. [\fB\-r\fR|\fB\-\-reloc\fR]
  168. [\fB\-R\fR|\fB\-\-dynamic\-reloc\fR]
  169. [\fB\-s\fR|\fB\-\-full\-contents\fR]
  170. [\fB\-W[lLiaprmfFsoORtUuTgAck]\fR|
  171. \fB\-\-dwarf\fR[=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]]
  172. [\fB\-WK\fR|\fB\-\-dwarf=follow\-links\fR]
  173. [\fB\-WN\fR|\fB\-\-dwarf=no\-follow\-links\fR]
  174. [\fB\-L\fR|\fB\-\-process\-links\fR]
  175. [\fB\-\-ctf=\fR\fIsection\fR]
  176. [\fB\-G\fR|\fB\-\-stabs\fR]
  177. [\fB\-t\fR|\fB\-\-syms\fR]
  178. [\fB\-T\fR|\fB\-\-dynamic\-syms\fR]
  179. [\fB\-x\fR|\fB\-\-all\-headers\fR]
  180. [\fB\-w\fR|\fB\-\-wide\fR]
  181. [\fB\-\-start\-address=\fR\fIaddress\fR]
  182. [\fB\-\-stop\-address=\fR\fIaddress\fR]
  183. [\fB\-\-no\-addresses\fR]
  184. [\fB\-\-prefix\-addresses\fR]
  185. [\fB\-\-[no\-]show\-raw\-insn\fR]
  186. [\fB\-\-adjust\-vma=\fR\fIoffset\fR]
  187. [\fB\-\-dwarf\-depth=\fR\fIn\fR]
  188. [\fB\-\-dwarf\-start=\fR\fIn\fR]
  189. [\fB\-\-ctf\-parent=\fR\fIsection\fR]
  190. [\fB\-\-no\-recurse\-limit\fR|\fB\-\-recurse\-limit\fR]
  191. [\fB\-\-special\-syms\fR]
  192. [\fB\-\-prefix=\fR\fIprefix\fR]
  193. [\fB\-\-prefix\-strip=\fR\fIlevel\fR]
  194. [\fB\-\-insn\-width=\fR\fIwidth\fR]
  195. [\fB\-\-visualize\-jumps[=color|=extended\-color|=off]\fR
  196. [\fB\-U\fR \fImethod\fR] [\fB\-\-unicode=\fR\fImethod\fR]
  197. [\fB\-V\fR|\fB\-\-version\fR]
  198. [\fB\-H\fR|\fB\-\-help\fR]
  199. \fIobjfile\fR...
  200. .SH "DESCRIPTION"
  201. .IX Header "DESCRIPTION"
  202. \&\fBobjdump\fR displays information about one or more object files.
  203. The options control what particular information to display. This
  204. information is mostly useful to programmers who are working on the
  205. compilation tools, as opposed to programmers who just want their
  206. program to compile and work.
  207. .PP
  208. \&\fIobjfile\fR... are the object files to be examined. When you
  209. specify archives, \fBobjdump\fR shows information on each of the member
  210. object files.
  211. .SH "OPTIONS"
  212. .IX Header "OPTIONS"
  213. The long and short forms of options, shown here as alternatives, are
  214. equivalent. At least one option from the list
  215. \&\fB\-a,\-d,\-D,\-e,\-f,\-g,\-G,\-h,\-H,\-p,\-P,\-r,\-R,\-s,\-S,\-t,\-T,\-V,\-x\fR must be given.
  216. .IP "\fB\-a\fR" 4
  217. .IX Item "-a"
  218. .PD 0
  219. .IP "\fB\-\-archive\-header\fR" 4
  220. .IX Item "--archive-header"
  221. .PD
  222. If any of the \fIobjfile\fR files are archives, display the archive
  223. header information (in a format similar to \fBls \-l\fR). Besides the
  224. information you could list with \fBar tv\fR, \fBobjdump \-a\fR shows
  225. the object file format of each archive member.
  226. .IP "\fB\-\-adjust\-vma=\fR\fIoffset\fR" 4
  227. .IX Item "--adjust-vma=offset"
  228. When dumping information, first add \fIoffset\fR to all the section
  229. addresses. This is useful if the section addresses do not correspond to
  230. the symbol table, which can happen when putting sections at particular
  231. addresses when using a format which can not represent section addresses,
  232. such as a.out.
  233. .IP "\fB\-b\fR \fIbfdname\fR" 4
  234. .IX Item "-b bfdname"
  235. .PD 0
  236. .IP "\fB\-\-target=\fR\fIbfdname\fR" 4
  237. .IX Item "--target=bfdname"
  238. .PD
  239. Specify that the object-code format for the object files is
  240. \&\fIbfdname\fR. This option may not be necessary; \fIobjdump\fR can
  241. automatically recognize many formats.
  242. .Sp
  243. For example,
  244. .Sp
  245. .Vb 1
  246. \& objdump \-b oasys \-m vax \-h fu.o
  247. .Ve
  248. .Sp
  249. displays summary information from the section headers (\fB\-h\fR) of
  250. \&\fIfu.o\fR, which is explicitly identified (\fB\-m\fR) as a \s-1VAX\s0 object
  251. file in the format produced by Oasys compilers. You can list the
  252. formats available with the \fB\-i\fR option.
  253. .IP "\fB\-C\fR" 4
  254. .IX Item "-C"
  255. .PD 0
  256. .IP "\fB\-\-demangle[=\fR\fIstyle\fR\fB]\fR" 4
  257. .IX Item "--demangle[=style]"
  258. .PD
  259. Decode (\fIdemangle\fR) low-level symbol names into user-level names.
  260. Besides removing any initial underscore prepended by the system, this
  261. makes \*(C+ function names readable. Different compilers have different
  262. mangling styles. The optional demangling style argument can be used to
  263. choose an appropriate demangling style for your compiler.
  264. .IP "\fB\-\-recurse\-limit\fR" 4
  265. .IX Item "--recurse-limit"
  266. .PD 0
  267. .IP "\fB\-\-no\-recurse\-limit\fR" 4
  268. .IX Item "--no-recurse-limit"
  269. .IP "\fB\-\-recursion\-limit\fR" 4
  270. .IX Item "--recursion-limit"
  271. .IP "\fB\-\-no\-recursion\-limit\fR" 4
  272. .IX Item "--no-recursion-limit"
  273. .PD
  274. Enables or disables a limit on the amount of recursion performed
  275. whilst demangling strings. Since the name mangling formats allow for
  276. an infinite level of recursion it is possible to create strings whose
  277. decoding will exhaust the amount of stack space available on the host
  278. machine, triggering a memory fault. The limit tries to prevent this
  279. from happening by restricting recursion to 2048 levels of nesting.
  280. .Sp
  281. The default is for this limit to be enabled, but disabling it may be
  282. necessary in order to demangle truly complicated names. Note however
  283. that if the recursion limit is disabled then stack exhaustion is
  284. possible and any bug reports about such an event will be rejected.
  285. .IP "\fB\-g\fR" 4
  286. .IX Item "-g"
  287. .PD 0
  288. .IP "\fB\-\-debugging\fR" 4
  289. .IX Item "--debugging"
  290. .PD
  291. Display debugging information. This attempts to parse \s-1STABS\s0
  292. debugging format information stored in the file and print it out using
  293. a C like syntax. If no \s-1STABS\s0 debugging was found this option
  294. falls back on the \fB\-W\fR option to print any \s-1DWARF\s0 information in
  295. the file.
  296. .IP "\fB\-e\fR" 4
  297. .IX Item "-e"
  298. .PD 0
  299. .IP "\fB\-\-debugging\-tags\fR" 4
  300. .IX Item "--debugging-tags"
  301. .PD
  302. Like \fB\-g\fR, but the information is generated in a format compatible
  303. with ctags tool.
  304. .IP "\fB\-d\fR" 4
  305. .IX Item "-d"
  306. .PD 0
  307. .IP "\fB\-\-disassemble\fR" 4
  308. .IX Item "--disassemble"
  309. .IP "\fB\-\-disassemble=\fR\fIsymbol\fR" 4
  310. .IX Item "--disassemble=symbol"
  311. .PD
  312. Display the assembler mnemonics for the machine instructions from the
  313. input file. This option only disassembles those sections which are
  314. expected to contain instructions. If the optional \fIsymbol\fR
  315. argument is given, then display the assembler mnemonics starting at
  316. \&\fIsymbol\fR. If \fIsymbol\fR is a function name then disassembly
  317. will stop at the end of the function, otherwise it will stop when the
  318. next symbol is encountered. If there are no matches for \fIsymbol\fR
  319. then nothing will be displayed.
  320. .Sp
  321. Note if the \fB\-\-dwarf=follow\-links\fR option is enabled
  322. then any symbol tables in linked debug info files will be read in and
  323. used when disassembling.
  324. .IP "\fB\-D\fR" 4
  325. .IX Item "-D"
  326. .PD 0
  327. .IP "\fB\-\-disassemble\-all\fR" 4
  328. .IX Item "--disassemble-all"
  329. .PD
  330. Like \fB\-d\fR, but disassemble the contents of all sections, not just
  331. those expected to contain instructions.
  332. .Sp
  333. This option also has a subtle effect on the disassembly of
  334. instructions in code sections. When option \fB\-d\fR is in effect
  335. objdump will assume that any symbols present in a code section occur
  336. on the boundary between instructions and it will refuse to disassemble
  337. across such a boundary. When option \fB\-D\fR is in effect however
  338. this assumption is supressed. This means that it is possible for the
  339. output of \fB\-d\fR and \fB\-D\fR to differ if, for example, data
  340. is stored in code sections.
  341. .Sp
  342. If the target is an \s-1ARM\s0 architecture this switch also has the effect
  343. of forcing the disassembler to decode pieces of data found in code
  344. sections as if they were instructions.
  345. .Sp
  346. Note if the \fB\-\-dwarf=follow\-links\fR option is enabled
  347. then any symbol tables in linked debug info files will be read in and
  348. used when disassembling.
  349. .IP "\fB\-\-no\-addresses\fR" 4
  350. .IX Item "--no-addresses"
  351. When disassembling, don't print addresses on each line or for symbols
  352. and relocation offsets. In combination with \fB\-\-no\-show\-raw\-insn\fR
  353. this may be useful for comparing compiler output.
  354. .IP "\fB\-\-prefix\-addresses\fR" 4
  355. .IX Item "--prefix-addresses"
  356. When disassembling, print the complete address on each line. This is
  357. the older disassembly format.
  358. .IP "\fB\-EB\fR" 4
  359. .IX Item "-EB"
  360. .PD 0
  361. .IP "\fB\-EL\fR" 4
  362. .IX Item "-EL"
  363. .IP "\fB\-\-endian={big|little}\fR" 4
  364. .IX Item "--endian={big|little}"
  365. .PD
  366. Specify the endianness of the object files. This only affects
  367. disassembly. This can be useful when disassembling a file format which
  368. does not describe endianness information, such as S\-records.
  369. .IP "\fB\-f\fR" 4
  370. .IX Item "-f"
  371. .PD 0
  372. .IP "\fB\-\-file\-headers\fR" 4
  373. .IX Item "--file-headers"
  374. .PD
  375. Display summary information from the overall header of
  376. each of the \fIobjfile\fR files.
  377. .IP "\fB\-F\fR" 4
  378. .IX Item "-F"
  379. .PD 0
  380. .IP "\fB\-\-file\-offsets\fR" 4
  381. .IX Item "--file-offsets"
  382. .PD
  383. When disassembling sections, whenever a symbol is displayed, also
  384. display the file offset of the region of data that is about to be
  385. dumped. If zeroes are being skipped, then when disassembly resumes,
  386. tell the user how many zeroes were skipped and the file offset of the
  387. location from where the disassembly resumes. When dumping sections,
  388. display the file offset of the location from where the dump starts.
  389. .IP "\fB\-\-file\-start\-context\fR" 4
  390. .IX Item "--file-start-context"
  391. Specify that when displaying interlisted source code/disassembly
  392. (assumes \fB\-S\fR) from a file that has not yet been displayed, extend the
  393. context to the start of the file.
  394. .IP "\fB\-h\fR" 4
  395. .IX Item "-h"
  396. .PD 0
  397. .IP "\fB\-\-section\-headers\fR" 4
  398. .IX Item "--section-headers"
  399. .IP "\fB\-\-headers\fR" 4
  400. .IX Item "--headers"
  401. .PD
  402. Display summary information from the section headers of the
  403. object file.
  404. .Sp
  405. File segments may be relocated to nonstandard addresses, for example by
  406. using the \fB\-Ttext\fR, \fB\-Tdata\fR, or \fB\-Tbss\fR options to
  407. \&\fBld\fR. However, some object file formats, such as a.out, do not
  408. store the starting address of the file segments. In those situations,
  409. although \fBld\fR relocates the sections correctly, using \fBobjdump
  410. \&\-h\fR to list the file section headers cannot show the correct addresses.
  411. Instead, it shows the usual addresses, which are implicit for the
  412. target.
  413. .Sp
  414. Note, in some cases it is possible for a section to have both the
  415. \&\s-1READONLY\s0 and the \s-1NOREAD\s0 attributes set. In such cases the \s-1NOREAD\s0
  416. attribute takes precedence, but \fBobjdump\fR will report both
  417. since the exact setting of the flag bits might be important.
  418. .IP "\fB\-H\fR" 4
  419. .IX Item "-H"
  420. .PD 0
  421. .IP "\fB\-\-help\fR" 4
  422. .IX Item "--help"
  423. .PD
  424. Print a summary of the options to \fBobjdump\fR and exit.
  425. .IP "\fB\-i\fR" 4
  426. .IX Item "-i"
  427. .PD 0
  428. .IP "\fB\-\-info\fR" 4
  429. .IX Item "--info"
  430. .PD
  431. Display a list showing all architectures and object formats available
  432. for specification with \fB\-b\fR or \fB\-m\fR.
  433. .IP "\fB\-j\fR \fIname\fR" 4
  434. .IX Item "-j name"
  435. .PD 0
  436. .IP "\fB\-\-section=\fR\fIname\fR" 4
  437. .IX Item "--section=name"
  438. .PD
  439. Display information only for section \fIname\fR.
  440. .IP "\fB\-L\fR" 4
  441. .IX Item "-L"
  442. .PD 0
  443. .IP "\fB\-\-process\-links\fR" 4
  444. .IX Item "--process-links"
  445. .PD
  446. Display the contents of non-debug sections found in separate debuginfo
  447. files that are linked to the main file. This option automatically
  448. implies the \fB\-WK\fR option, and only sections requested by other
  449. command line options will be displayed.
  450. .IP "\fB\-l\fR" 4
  451. .IX Item "-l"
  452. .PD 0
  453. .IP "\fB\-\-line\-numbers\fR" 4
  454. .IX Item "--line-numbers"
  455. .PD
  456. Label the display (using debugging information) with the filename and
  457. source line numbers corresponding to the object code or relocs shown.
  458. Only useful with \fB\-d\fR, \fB\-D\fR, or \fB\-r\fR.
  459. .IP "\fB\-m\fR \fImachine\fR" 4
  460. .IX Item "-m machine"
  461. .PD 0
  462. .IP "\fB\-\-architecture=\fR\fImachine\fR" 4
  463. .IX Item "--architecture=machine"
  464. .PD
  465. Specify the architecture to use when disassembling object files. This
  466. can be useful when disassembling object files which do not describe
  467. architecture information, such as S\-records. You can list the available
  468. architectures with the \fB\-i\fR option.
  469. .Sp
  470. If the target is an \s-1ARM\s0 architecture then this switch has an
  471. additional effect. It restricts the disassembly to only those
  472. instructions supported by the architecture specified by \fImachine\fR.
  473. If it is necessary to use this switch because the input file does not
  474. contain any architecture information, but it is also desired to
  475. disassemble all the instructions use \fB\-marm\fR.
  476. .IP "\fB\-M\fR \fIoptions\fR" 4
  477. .IX Item "-M options"
  478. .PD 0
  479. .IP "\fB\-\-disassembler\-options=\fR\fIoptions\fR" 4
  480. .IX Item "--disassembler-options=options"
  481. .PD
  482. Pass target specific information to the disassembler. Only supported on
  483. some targets. If it is necessary to specify more than one
  484. disassembler option then multiple \fB\-M\fR options can be used or
  485. can be placed together into a comma separated list.
  486. .Sp
  487. For \s-1ARC,\s0 \fBdsp\fR controls the printing of \s-1DSP\s0 instructions,
  488. \&\fBspfp\fR selects the printing of \s-1FPX\s0 single precision \s-1FP\s0
  489. instructions, \fBdpfp\fR selects the printing of \s-1FPX\s0 double
  490. precision \s-1FP\s0 instructions, \fBquarkse_em\fR selects the printing of
  491. special QuarkSE-EM instructions, \fBfpuda\fR selects the printing
  492. of double precision assist instructions, \fBfpus\fR selects the
  493. printing of \s-1FPU\s0 single precision \s-1FP\s0 instructions, while \fBfpud\fR
  494. selects the printing of \s-1FPU\s0 double precision \s-1FP\s0 instructions.
  495. Additionally, one can choose to have all the immediates printed in
  496. hexadecimal using \fBhex\fR. By default, the short immediates are
  497. printed using the decimal representation, while the long immediate
  498. values are printed as hexadecimal.
  499. .Sp
  500. \&\fBcpu=...\fR allows one to enforce a particular \s-1ISA\s0 when disassembling
  501. instructions, overriding the \fB\-m\fR value or whatever is in the \s-1ELF\s0 file.
  502. This might be useful to select \s-1ARC EM\s0 or \s-1HS ISA,\s0 because architecture is same
  503. for those and disassembler relies on private \s-1ELF\s0 header data to decide if code
  504. is for \s-1EM\s0 or \s-1HS.\s0 This option might be specified multiple times \- only the
  505. latest value will be used. Valid values are same as for the assembler
  506. \&\fB\-mcpu=...\fR option.
  507. .Sp
  508. If the target is an \s-1ARM\s0 architecture then this switch can be used to
  509. select which register name set is used during disassembler. Specifying
  510. \&\fB\-M reg-names-std\fR (the default) will select the register names as
  511. used in \s-1ARM\s0's instruction set documentation, but with register 13 called
  512. \&'sp', register 14 called 'lr' and register 15 called 'pc'. Specifying
  513. \&\fB\-M reg-names-apcs\fR will select the name set used by the \s-1ARM\s0
  514. Procedure Call Standard, whilst specifying \fB\-M reg-names-raw\fR will
  515. just use \fBr\fR followed by the register number.
  516. .Sp
  517. There are also two variants on the \s-1APCS\s0 register naming scheme enabled
  518. by \fB\-M reg-names-atpcs\fR and \fB\-M reg-names-special-atpcs\fR which
  519. use the ARM/Thumb Procedure Call Standard naming conventions. (Either
  520. with the normal register names or the special register names).
  521. .Sp
  522. This option can also be used for \s-1ARM\s0 architectures to force the
  523. disassembler to interpret all instructions as Thumb instructions by
  524. using the switch \fB\-\-disassembler\-options=force\-thumb\fR. This can be
  525. useful when attempting to disassemble thumb code produced by other
  526. compilers.
  527. .Sp
  528. For AArch64 targets this switch can be used to set whether instructions are
  529. disassembled as the most general instruction using the \fB\-M no-aliases\fR
  530. option or whether instruction notes should be generated as comments in the
  531. disasssembly using \fB\-M notes\fR.
  532. .Sp
  533. For the x86, some of the options duplicate functions of the \fB\-m\fR
  534. switch, but allow finer grained control.
  535. .RS 4
  536. .ie n .IP """x86\-64""" 4
  537. .el .IP "\f(CWx86\-64\fR" 4
  538. .IX Item "x86-64"
  539. .PD 0
  540. .ie n .IP """i386""" 4
  541. .el .IP "\f(CWi386\fR" 4
  542. .IX Item "i386"
  543. .ie n .IP """i8086""" 4
  544. .el .IP "\f(CWi8086\fR" 4
  545. .IX Item "i8086"
  546. .PD
  547. Select disassembly for the given architecture.
  548. .ie n .IP """intel""" 4
  549. .el .IP "\f(CWintel\fR" 4
  550. .IX Item "intel"
  551. .PD 0
  552. .ie n .IP """att""" 4
  553. .el .IP "\f(CWatt\fR" 4
  554. .IX Item "att"
  555. .PD
  556. Select between intel syntax mode and \s-1AT&T\s0 syntax mode.
  557. .ie n .IP """amd64""" 4
  558. .el .IP "\f(CWamd64\fR" 4
  559. .IX Item "amd64"
  560. .PD 0
  561. .ie n .IP """intel64""" 4
  562. .el .IP "\f(CWintel64\fR" 4
  563. .IX Item "intel64"
  564. .PD
  565. Select between \s-1AMD64 ISA\s0 and Intel64 \s-1ISA.\s0
  566. .ie n .IP """intel\-mnemonic""" 4
  567. .el .IP "\f(CWintel\-mnemonic\fR" 4
  568. .IX Item "intel-mnemonic"
  569. .PD 0
  570. .ie n .IP """att\-mnemonic""" 4
  571. .el .IP "\f(CWatt\-mnemonic\fR" 4
  572. .IX Item "att-mnemonic"
  573. .PD
  574. Select between intel mnemonic mode and \s-1AT&T\s0 mnemonic mode.
  575. Note: \f(CW\*(C`intel\-mnemonic\*(C'\fR implies \f(CW\*(C`intel\*(C'\fR and
  576. \&\f(CW\*(C`att\-mnemonic\*(C'\fR implies \f(CW\*(C`att\*(C'\fR.
  577. .ie n .IP """addr64""" 4
  578. .el .IP "\f(CWaddr64\fR" 4
  579. .IX Item "addr64"
  580. .PD 0
  581. .ie n .IP """addr32""" 4
  582. .el .IP "\f(CWaddr32\fR" 4
  583. .IX Item "addr32"
  584. .ie n .IP """addr16""" 4
  585. .el .IP "\f(CWaddr16\fR" 4
  586. .IX Item "addr16"
  587. .ie n .IP """data32""" 4
  588. .el .IP "\f(CWdata32\fR" 4
  589. .IX Item "data32"
  590. .ie n .IP """data16""" 4
  591. .el .IP "\f(CWdata16\fR" 4
  592. .IX Item "data16"
  593. .PD
  594. Specify the default address size and operand size. These five options
  595. will be overridden if \f(CW\*(C`x86\-64\*(C'\fR, \f(CW\*(C`i386\*(C'\fR or \f(CW\*(C`i8086\*(C'\fR
  596. appear later in the option string.
  597. .ie n .IP """suffix""" 4
  598. .el .IP "\f(CWsuffix\fR" 4
  599. .IX Item "suffix"
  600. When in \s-1AT&T\s0 mode and also for a limited set of instructions when in Intel
  601. mode, instructs the disassembler to print a mnemonic suffix even when the
  602. suffix could be inferred by the operands or, for certain instructions, the
  603. execution mode's defaults.
  604. .RE
  605. .RS 4
  606. .Sp
  607. For PowerPC, the \fB\-M\fR argument \fBraw\fR selects
  608. disasssembly of hardware insns rather than aliases. For example, you
  609. will see \f(CW\*(C`rlwinm\*(C'\fR rather than \f(CW\*(C`clrlwi\*(C'\fR, and \f(CW\*(C`addi\*(C'\fR
  610. rather than \f(CW\*(C`li\*(C'\fR. All of the \fB\-m\fR arguments for
  611. \&\fBgas\fR that select a \s-1CPU\s0 are supported. These are:
  612. \&\fB403\fR, \fB405\fR, \fB440\fR, \fB464\fR, \fB476\fR,
  613. \&\fB601\fR, \fB603\fR, \fB604\fR, \fB620\fR, \fB7400\fR,
  614. \&\fB7410\fR, \fB7450\fR, \fB7455\fR, \fB750cl\fR,
  615. \&\fB821\fR, \fB850\fR, \fB860\fR, \fBa2\fR, \fBbooke\fR,
  616. \&\fBbooke32\fR, \fBcell\fR, \fBcom\fR, \fBe200z4\fR,
  617. \&\fBe300\fR, \fBe500\fR, \fBe500mc\fR, \fBe500mc64\fR,
  618. \&\fBe500x2\fR, \fBe5500\fR, \fBe6500\fR, \fBefs\fR,
  619. \&\fBpower4\fR, \fBpower5\fR, \fBpower6\fR, \fBpower7\fR,
  620. \&\fBpower8\fR, \fBpower9\fR, \fBpower10\fR, \fBppc\fR,
  621. \&\fBppc32\fR, \fBppc64\fR, \fBppc64bridge\fR, \fBppcps\fR,
  622. \&\fBpwr\fR, \fBpwr2\fR, \fBpwr4\fR, \fBpwr5\fR, \fBpwr5x\fR,
  623. \&\fBpwr6\fR, \fBpwr7\fR, \fBpwr8\fR, \fBpwr9\fR, \fBpwr10\fR,
  624. \&\fBpwrx\fR, \fBtitan\fR, and \fBvle\fR.
  625. \&\fB32\fR and \fB64\fR modify the default or a prior \s-1CPU\s0
  626. selection, disabling and enabling 64\-bit insns respectively. In
  627. addition, \fBaltivec\fR, \fBany\fR, \fBhtm\fR, \fBvsx\fR,
  628. and \fBspe\fR add capabilities to a previous \fIor later\fR \s-1CPU\s0
  629. selection. \fBany\fR will disassemble any opcode known to
  630. binutils, but in cases where an opcode has two different meanings or
  631. different arguments, you may not see the disassembly you expect.
  632. If you disassemble without giving a \s-1CPU\s0 selection, a default will be
  633. chosen from information gleaned by \s-1BFD\s0 from the object files headers,
  634. but the result again may not be as you expect.
  635. .Sp
  636. For \s-1MIPS,\s0 this option controls the printing of instruction mnemonic
  637. names and register names in disassembled instructions. Multiple
  638. selections from the following may be specified as a comma separated
  639. string, and invalid options are ignored:
  640. .ie n .IP """no\-aliases""" 4
  641. .el .IP "\f(CWno\-aliases\fR" 4
  642. .IX Item "no-aliases"
  643. Print the 'raw' instruction mnemonic instead of some pseudo
  644. instruction mnemonic. I.e., print 'daddu' or 'or' instead of 'move',
  645. \&'sll' instead of 'nop', etc.
  646. .ie n .IP """msa""" 4
  647. .el .IP "\f(CWmsa\fR" 4
  648. .IX Item "msa"
  649. Disassemble \s-1MSA\s0 instructions.
  650. .ie n .IP """virt""" 4
  651. .el .IP "\f(CWvirt\fR" 4
  652. .IX Item "virt"
  653. Disassemble the virtualization \s-1ASE\s0 instructions.
  654. .ie n .IP """xpa""" 4
  655. .el .IP "\f(CWxpa\fR" 4
  656. .IX Item "xpa"
  657. Disassemble the eXtended Physical Address (\s-1XPA\s0) \s-1ASE\s0 instructions.
  658. .ie n .IP """gpr\-names=\fIABI\fP""" 4
  659. .el .IP "\f(CWgpr\-names=\f(CIABI\f(CW\fR" 4
  660. .IX Item "gpr-names=ABI"
  661. Print \s-1GPR\s0 (general-purpose register) names as appropriate
  662. for the specified \s-1ABI.\s0 By default, \s-1GPR\s0 names are selected according to
  663. the \s-1ABI\s0 of the binary being disassembled.
  664. .ie n .IP """fpr\-names=\fIABI\fP""" 4
  665. .el .IP "\f(CWfpr\-names=\f(CIABI\f(CW\fR" 4
  666. .IX Item "fpr-names=ABI"
  667. Print \s-1FPR\s0 (floating-point register) names as
  668. appropriate for the specified \s-1ABI.\s0 By default, \s-1FPR\s0 numbers are printed
  669. rather than names.
  670. .ie n .IP """cp0\-names=\fIARCH\fP""" 4
  671. .el .IP "\f(CWcp0\-names=\f(CIARCH\f(CW\fR" 4
  672. .IX Item "cp0-names=ARCH"
  673. Print \s-1CP0\s0 (system control coprocessor; coprocessor 0) register names
  674. as appropriate for the \s-1CPU\s0 or architecture specified by
  675. \&\fI\s-1ARCH\s0\fR. By default, \s-1CP0\s0 register names are selected according to
  676. the architecture and \s-1CPU\s0 of the binary being disassembled.
  677. .ie n .IP """hwr\-names=\fIARCH\fP""" 4
  678. .el .IP "\f(CWhwr\-names=\f(CIARCH\f(CW\fR" 4
  679. .IX Item "hwr-names=ARCH"
  680. Print \s-1HWR\s0 (hardware register, used by the \f(CW\*(C`rdhwr\*(C'\fR instruction) names
  681. as appropriate for the \s-1CPU\s0 or architecture specified by
  682. \&\fI\s-1ARCH\s0\fR. By default, \s-1HWR\s0 names are selected according to
  683. the architecture and \s-1CPU\s0 of the binary being disassembled.
  684. .ie n .IP """reg\-names=\fIABI\fP""" 4
  685. .el .IP "\f(CWreg\-names=\f(CIABI\f(CW\fR" 4
  686. .IX Item "reg-names=ABI"
  687. Print \s-1GPR\s0 and \s-1FPR\s0 names as appropriate for the selected \s-1ABI.\s0
  688. .ie n .IP """reg\-names=\fIARCH\fP""" 4
  689. .el .IP "\f(CWreg\-names=\f(CIARCH\f(CW\fR" 4
  690. .IX Item "reg-names=ARCH"
  691. Print CPU-specific register names (\s-1CP0\s0 register and \s-1HWR\s0 names)
  692. as appropriate for the selected \s-1CPU\s0 or architecture.
  693. .RE
  694. .RS 4
  695. .Sp
  696. For any of the options listed above, \fI\s-1ABI\s0\fR or
  697. \&\fI\s-1ARCH\s0\fR may be specified as \fBnumeric\fR to have numbers printed
  698. rather than names, for the selected types of registers.
  699. You can list the available values of \fI\s-1ABI\s0\fR and \fI\s-1ARCH\s0\fR using
  700. the \fB\-\-help\fR option.
  701. .Sp
  702. For \s-1VAX,\s0 you can specify function entry addresses with \fB\-M
  703. entry:0xf00ba\fR. You can use this multiple times to properly
  704. disassemble \s-1VAX\s0 binary files that don't contain symbol tables (like
  705. \&\s-1ROM\s0 dumps). In these cases, the function entry mask would otherwise
  706. be decoded as \s-1VAX\s0 instructions, which would probably lead the rest
  707. of the function being wrongly disassembled.
  708. .RE
  709. .IP "\fB\-p\fR" 4
  710. .IX Item "-p"
  711. .PD 0
  712. .IP "\fB\-\-private\-headers\fR" 4
  713. .IX Item "--private-headers"
  714. .PD
  715. Print information that is specific to the object file format. The exact
  716. information printed depends upon the object file format. For some
  717. object file formats, no additional information is printed.
  718. .IP "\fB\-P\fR \fIoptions\fR" 4
  719. .IX Item "-P options"
  720. .PD 0
  721. .IP "\fB\-\-private=\fR\fIoptions\fR" 4
  722. .IX Item "--private=options"
  723. .PD
  724. Print information that is specific to the object file format. The
  725. argument \fIoptions\fR is a comma separated list that depends on the
  726. format (the lists of options is displayed with the help).
  727. .Sp
  728. For \s-1XCOFF,\s0 the available options are:
  729. .RS 4
  730. .ie n .IP """header""" 4
  731. .el .IP "\f(CWheader\fR" 4
  732. .IX Item "header"
  733. .PD 0
  734. .ie n .IP """aout""" 4
  735. .el .IP "\f(CWaout\fR" 4
  736. .IX Item "aout"
  737. .ie n .IP """sections""" 4
  738. .el .IP "\f(CWsections\fR" 4
  739. .IX Item "sections"
  740. .ie n .IP """syms""" 4
  741. .el .IP "\f(CWsyms\fR" 4
  742. .IX Item "syms"
  743. .ie n .IP """relocs""" 4
  744. .el .IP "\f(CWrelocs\fR" 4
  745. .IX Item "relocs"
  746. .ie n .IP """lineno,""" 4
  747. .el .IP "\f(CWlineno,\fR" 4
  748. .IX Item "lineno,"
  749. .ie n .IP """loader""" 4
  750. .el .IP "\f(CWloader\fR" 4
  751. .IX Item "loader"
  752. .ie n .IP """except""" 4
  753. .el .IP "\f(CWexcept\fR" 4
  754. .IX Item "except"
  755. .ie n .IP """typchk""" 4
  756. .el .IP "\f(CWtypchk\fR" 4
  757. .IX Item "typchk"
  758. .ie n .IP """traceback""" 4
  759. .el .IP "\f(CWtraceback\fR" 4
  760. .IX Item "traceback"
  761. .ie n .IP """toc""" 4
  762. .el .IP "\f(CWtoc\fR" 4
  763. .IX Item "toc"
  764. .ie n .IP """ldinfo""" 4
  765. .el .IP "\f(CWldinfo\fR" 4
  766. .IX Item "ldinfo"
  767. .RE
  768. .RS 4
  769. .PD
  770. .Sp
  771. Not all object formats support this option. In particular the \s-1ELF\s0
  772. format does not use it.
  773. .RE
  774. .IP "\fB\-r\fR" 4
  775. .IX Item "-r"
  776. .PD 0
  777. .IP "\fB\-\-reloc\fR" 4
  778. .IX Item "--reloc"
  779. .PD
  780. Print the relocation entries of the file. If used with \fB\-d\fR or
  781. \&\fB\-D\fR, the relocations are printed interspersed with the
  782. disassembly.
  783. .IP "\fB\-R\fR" 4
  784. .IX Item "-R"
  785. .PD 0
  786. .IP "\fB\-\-dynamic\-reloc\fR" 4
  787. .IX Item "--dynamic-reloc"
  788. .PD
  789. Print the dynamic relocation entries of the file. This is only
  790. meaningful for dynamic objects, such as certain types of shared
  791. libraries. As for \fB\-r\fR, if used with \fB\-d\fR or
  792. \&\fB\-D\fR, the relocations are printed interspersed with the
  793. disassembly.
  794. .IP "\fB\-s\fR" 4
  795. .IX Item "-s"
  796. .PD 0
  797. .IP "\fB\-\-full\-contents\fR" 4
  798. .IX Item "--full-contents"
  799. .PD
  800. Display the full contents of any sections requested. By default all
  801. non-empty sections are displayed.
  802. .IP "\fB\-S\fR" 4
  803. .IX Item "-S"
  804. .PD 0
  805. .IP "\fB\-\-source\fR" 4
  806. .IX Item "--source"
  807. .PD
  808. Display source code intermixed with disassembly, if possible. Implies
  809. \&\fB\-d\fR.
  810. .IP "\fB\-\-source\-comment[=\fR\fItxt\fR\fB]\fR" 4
  811. .IX Item "--source-comment[=txt]"
  812. Like the \fB\-S\fR option, but all source code lines are displayed
  813. with a prefix of \fItxt\fR. Typically \fItxt\fR will be a comment
  814. string which can be used to distinguish the assembler code from the
  815. source code. If \fItxt\fR is not provided then a default string of
  816. \&\fI\*(L"# \*(R"\fR (hash followed by a space), will be used.
  817. .IP "\fB\-\-prefix=\fR\fIprefix\fR" 4
  818. .IX Item "--prefix=prefix"
  819. Specify \fIprefix\fR to add to the absolute paths when used with
  820. \&\fB\-S\fR.
  821. .IP "\fB\-\-prefix\-strip=\fR\fIlevel\fR" 4
  822. .IX Item "--prefix-strip=level"
  823. Indicate how many initial directory names to strip off the hardwired
  824. absolute paths. It has no effect without \fB\-\-prefix=\fR\fIprefix\fR.
  825. .IP "\fB\-\-show\-raw\-insn\fR" 4
  826. .IX Item "--show-raw-insn"
  827. When disassembling instructions, print the instruction in hex as well as
  828. in symbolic form. This is the default except when
  829. \&\fB\-\-prefix\-addresses\fR is used.
  830. .IP "\fB\-\-no\-show\-raw\-insn\fR" 4
  831. .IX Item "--no-show-raw-insn"
  832. When disassembling instructions, do not print the instruction bytes.
  833. This is the default when \fB\-\-prefix\-addresses\fR is used.
  834. .IP "\fB\-\-insn\-width=\fR\fIwidth\fR" 4
  835. .IX Item "--insn-width=width"
  836. Display \fIwidth\fR bytes on a single line when disassembling
  837. instructions.
  838. .IP "\fB\-\-visualize\-jumps[=color|=extended\-color|=off]\fR" 4
  839. .IX Item "--visualize-jumps[=color|=extended-color|=off]"
  840. Visualize jumps that stay inside a function by drawing \s-1ASCII\s0 art between
  841. the start and target addresses. The optional \fB=color\fR argument
  842. adds color to the output using simple terminal colors. Alternatively
  843. the \fB=extended\-color\fR argument will add color using 8bit
  844. colors, but these might not work on all terminals.
  845. .Sp
  846. If it is necessary to disable the \fBvisualize-jumps\fR option
  847. after it has previously been enabled then use
  848. \&\fBvisualize\-jumps=off\fR.
  849. .IP "\fB\-W[lLiaprmfFsoORtUuTgAckK]\fR" 4
  850. .IX Item "-W[lLiaprmfFsoORtUuTgAckK]"
  851. .PD 0
  852. .IP "\fB\-\-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]\fR" 4
  853. .IX Item "--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]"
  854. .PD
  855. Displays the contents of the \s-1DWARF\s0 debug sections in the file, if any
  856. are present. Compressed debug sections are automatically decompressed
  857. (temporarily) before they are displayed. If one or more of the
  858. optional letters or words follows the switch then only those type(s)
  859. of data will be dumped. The letters and words refer to the following
  860. information:
  861. .RS 4
  862. .ie n .IP """a""" 4
  863. .el .IP "\f(CWa\fR" 4
  864. .IX Item "a"
  865. .PD 0
  866. .ie n .IP """=abbrev""" 4
  867. .el .IP "\f(CW=abbrev\fR" 4
  868. .IX Item "=abbrev"
  869. .PD
  870. Displays the contents of the \fB.debug_abbrev\fR section.
  871. .ie n .IP """A""" 4
  872. .el .IP "\f(CWA\fR" 4
  873. .IX Item "A"
  874. .PD 0
  875. .ie n .IP """=addr""" 4
  876. .el .IP "\f(CW=addr\fR" 4
  877. .IX Item "=addr"
  878. .PD
  879. Displays the contents of the \fB.debug_addr\fR section.
  880. .ie n .IP """c""" 4
  881. .el .IP "\f(CWc\fR" 4
  882. .IX Item "c"
  883. .PD 0
  884. .ie n .IP """=cu_index""" 4
  885. .el .IP "\f(CW=cu_index\fR" 4
  886. .IX Item "=cu_index"
  887. .PD
  888. Displays the contents of the \fB.debug_cu_index\fR and/or
  889. \&\fB.debug_tu_index\fR sections.
  890. .ie n .IP """f""" 4
  891. .el .IP "\f(CWf\fR" 4
  892. .IX Item "f"
  893. .PD 0
  894. .ie n .IP """=frames""" 4
  895. .el .IP "\f(CW=frames\fR" 4
  896. .IX Item "=frames"
  897. .PD
  898. Display the raw contents of a \fB.debug_frame\fR section.
  899. .ie n .IP """F""" 4
  900. .el .IP "\f(CWF\fR" 4
  901. .IX Item "F"
  902. .PD 0
  903. .ie n .IP """=frames\-interp""" 4
  904. .el .IP "\f(CW=frames\-interp\fR" 4
  905. .IX Item "=frames-interp"
  906. .PD
  907. Display the interpreted contents of a \fB.debug_frame\fR section.
  908. .ie n .IP """g""" 4
  909. .el .IP "\f(CWg\fR" 4
  910. .IX Item "g"
  911. .PD 0
  912. .ie n .IP """=gdb_index""" 4
  913. .el .IP "\f(CW=gdb_index\fR" 4
  914. .IX Item "=gdb_index"
  915. .PD
  916. Displays the contents of the \fB.gdb_index\fR and/or
  917. \&\fB.debug_names\fR sections.
  918. .ie n .IP """i""" 4
  919. .el .IP "\f(CWi\fR" 4
  920. .IX Item "i"
  921. .PD 0
  922. .ie n .IP """=info""" 4
  923. .el .IP "\f(CW=info\fR" 4
  924. .IX Item "=info"
  925. .PD
  926. Displays the contents of the \fB.debug_info\fR section. Note: the
  927. output from this option can also be restricted by the use of the
  928. \&\fB\-\-dwarf\-depth\fR and \fB\-\-dwarf\-start\fR options.
  929. .ie n .IP """k""" 4
  930. .el .IP "\f(CWk\fR" 4
  931. .IX Item "k"
  932. .PD 0
  933. .ie n .IP """=links""" 4
  934. .el .IP "\f(CW=links\fR" 4
  935. .IX Item "=links"
  936. .PD
  937. Displays the contents of the \fB.gnu_debuglink\fR,
  938. \&\fB.gnu_debugaltlink\fR and \fB.debug_sup\fR sections, if any of
  939. them are present. Also displays any links to separate dwarf object
  940. files (dwo), if they are specified by the DW_AT_GNU_dwo_name or
  941. DW_AT_dwo_name attributes in the \fB.debug_info\fR section.
  942. .ie n .IP """K""" 4
  943. .el .IP "\f(CWK\fR" 4
  944. .IX Item "K"
  945. .PD 0
  946. .ie n .IP """=follow\-links""" 4
  947. .el .IP "\f(CW=follow\-links\fR" 4
  948. .IX Item "=follow-links"
  949. .PD
  950. Display the contents of any selected debug sections that are found in
  951. linked, separate debug info file(s). This can result in multiple
  952. versions of the same debug section being displayed if it exists in
  953. more than one file.
  954. .Sp
  955. In addition, when displaying \s-1DWARF\s0 attributes, if a form is found that
  956. references the separate debug info file, then the referenced contents
  957. will also be displayed.
  958. .Sp
  959. Note \- in some distributions this option is enabled by default. It
  960. can be disabled via the \fBN\fR debug option. The default can be
  961. chosen when configuring the binutils via the
  962. \&\fB\-\-enable\-follow\-debug\-links=yes\fR or
  963. \&\fB\-\-enable\-follow\-debug\-links=no\fR options. If these are not
  964. used then the default is to enable the following of debug links.
  965. .ie n .IP """N""" 4
  966. .el .IP "\f(CWN\fR" 4
  967. .IX Item "N"
  968. .PD 0
  969. .ie n .IP """=no\-follow\-links""" 4
  970. .el .IP "\f(CW=no\-follow\-links\fR" 4
  971. .IX Item "=no-follow-links"
  972. .PD
  973. Disables the following of links to separate debug info files.
  974. .ie n .IP """l""" 4
  975. .el .IP "\f(CWl\fR" 4
  976. .IX Item "l"
  977. .PD 0
  978. .ie n .IP """=rawline""" 4
  979. .el .IP "\f(CW=rawline\fR" 4
  980. .IX Item "=rawline"
  981. .PD
  982. Displays the contents of the \fB.debug_line\fR section in a raw
  983. format.
  984. .ie n .IP """L""" 4
  985. .el .IP "\f(CWL\fR" 4
  986. .IX Item "L"
  987. .PD 0
  988. .ie n .IP """=decodedline""" 4
  989. .el .IP "\f(CW=decodedline\fR" 4
  990. .IX Item "=decodedline"
  991. .PD
  992. Displays the interpreted contents of the \fB.debug_line\fR section.
  993. .ie n .IP """m""" 4
  994. .el .IP "\f(CWm\fR" 4
  995. .IX Item "m"
  996. .PD 0
  997. .ie n .IP """=macro""" 4
  998. .el .IP "\f(CW=macro\fR" 4
  999. .IX Item "=macro"
  1000. .PD
  1001. Displays the contents of the \fB.debug_macro\fR and/or
  1002. \&\fB.debug_macinfo\fR sections.
  1003. .ie n .IP """o""" 4
  1004. .el .IP "\f(CWo\fR" 4
  1005. .IX Item "o"
  1006. .PD 0
  1007. .ie n .IP """=loc""" 4
  1008. .el .IP "\f(CW=loc\fR" 4
  1009. .IX Item "=loc"
  1010. .PD
  1011. Displays the contents of the \fB.debug_loc\fR and/or
  1012. \&\fB.debug_loclists\fR sections.
  1013. .ie n .IP """O""" 4
  1014. .el .IP "\f(CWO\fR" 4
  1015. .IX Item "O"
  1016. .PD 0
  1017. .ie n .IP """=str\-offsets""" 4
  1018. .el .IP "\f(CW=str\-offsets\fR" 4
  1019. .IX Item "=str-offsets"
  1020. .PD
  1021. Displays the contents of the \fB.debug_str_offsets\fR section.
  1022. .ie n .IP """p""" 4
  1023. .el .IP "\f(CWp\fR" 4
  1024. .IX Item "p"
  1025. .PD 0
  1026. .ie n .IP """=pubnames""" 4
  1027. .el .IP "\f(CW=pubnames\fR" 4
  1028. .IX Item "=pubnames"
  1029. .PD
  1030. Displays the contents of the \fB.debug_pubnames\fR and/or
  1031. \&\fB.debug_gnu_pubnames\fR sections.
  1032. .ie n .IP """r""" 4
  1033. .el .IP "\f(CWr\fR" 4
  1034. .IX Item "r"
  1035. .PD 0
  1036. .ie n .IP """=aranges""" 4
  1037. .el .IP "\f(CW=aranges\fR" 4
  1038. .IX Item "=aranges"
  1039. .PD
  1040. Displays the contents of the \fB.debug_aranges\fR section.
  1041. .ie n .IP """R""" 4
  1042. .el .IP "\f(CWR\fR" 4
  1043. .IX Item "R"
  1044. .PD 0
  1045. .ie n .IP """=Ranges""" 4
  1046. .el .IP "\f(CW=Ranges\fR" 4
  1047. .IX Item "=Ranges"
  1048. .PD
  1049. Displays the contents of the \fB.debug_ranges\fR and/or
  1050. \&\fB.debug_rnglists\fR sections.
  1051. .ie n .IP """s""" 4
  1052. .el .IP "\f(CWs\fR" 4
  1053. .IX Item "s"
  1054. .PD 0
  1055. .ie n .IP """=str""" 4
  1056. .el .IP "\f(CW=str\fR" 4
  1057. .IX Item "=str"
  1058. .PD
  1059. Displays the contents of the \fB.debug_str\fR, \fB.debug_line_str\fR
  1060. and/or \fB.debug_str_offsets\fR sections.
  1061. .ie n .IP """t""" 4
  1062. .el .IP "\f(CWt\fR" 4
  1063. .IX Item "t"
  1064. .PD 0
  1065. .ie n .IP """=pubtype""" 4
  1066. .el .IP "\f(CW=pubtype\fR" 4
  1067. .IX Item "=pubtype"
  1068. .PD
  1069. Displays the contents of the \fB.debug_pubtypes\fR and/or
  1070. \&\fB.debug_gnu_pubtypes\fR sections.
  1071. .ie n .IP """T""" 4
  1072. .el .IP "\f(CWT\fR" 4
  1073. .IX Item "T"
  1074. .PD 0
  1075. .ie n .IP """=trace_aranges""" 4
  1076. .el .IP "\f(CW=trace_aranges\fR" 4
  1077. .IX Item "=trace_aranges"
  1078. .PD
  1079. Displays the contents of the \fB.trace_aranges\fR section.
  1080. .ie n .IP """u""" 4
  1081. .el .IP "\f(CWu\fR" 4
  1082. .IX Item "u"
  1083. .PD 0
  1084. .ie n .IP """=trace_abbrev""" 4
  1085. .el .IP "\f(CW=trace_abbrev\fR" 4
  1086. .IX Item "=trace_abbrev"
  1087. .PD
  1088. Displays the contents of the \fB.trace_abbrev\fR section.
  1089. .ie n .IP """U""" 4
  1090. .el .IP "\f(CWU\fR" 4
  1091. .IX Item "U"
  1092. .PD 0
  1093. .ie n .IP """=trace_info""" 4
  1094. .el .IP "\f(CW=trace_info\fR" 4
  1095. .IX Item "=trace_info"
  1096. .PD
  1097. Displays the contents of the \fB.trace_info\fR section.
  1098. .RE
  1099. .RS 4
  1100. .Sp
  1101. Note: displaying the contents of \fB.debug_static_funcs\fR,
  1102. \&\fB.debug_static_vars\fR and \fBdebug_weaknames\fR sections is not
  1103. currently supported.
  1104. .RE
  1105. .IP "\fB\-\-dwarf\-depth=\fR\fIn\fR" 4
  1106. .IX Item "--dwarf-depth=n"
  1107. Limit the dump of the \f(CW\*(C`.debug_info\*(C'\fR section to \fIn\fR children.
  1108. This is only useful with \fB\-\-debug\-dump=info\fR. The default is
  1109. to print all DIEs; the special value 0 for \fIn\fR will also have this
  1110. effect.
  1111. .Sp
  1112. With a non-zero value for \fIn\fR, DIEs at or deeper than \fIn\fR
  1113. levels will not be printed. The range for \fIn\fR is zero-based.
  1114. .IP "\fB\-\-dwarf\-start=\fR\fIn\fR" 4
  1115. .IX Item "--dwarf-start=n"
  1116. Print only DIEs beginning with the \s-1DIE\s0 numbered \fIn\fR. This is only
  1117. useful with \fB\-\-debug\-dump=info\fR.
  1118. .Sp
  1119. If specified, this option will suppress printing of any header
  1120. information and all DIEs before the \s-1DIE\s0 numbered \fIn\fR. Only
  1121. siblings and children of the specified \s-1DIE\s0 will be printed.
  1122. .Sp
  1123. This can be used in conjunction with \fB\-\-dwarf\-depth\fR.
  1124. .IP "\fB\-\-dwarf\-check\fR" 4
  1125. .IX Item "--dwarf-check"
  1126. Enable additional checks for consistency of Dwarf information.
  1127. .IP "\fB\-\-ctf[=\fR\fIsection\fR\fB]\fR" 4
  1128. .IX Item "--ctf[=section]"
  1129. Display the contents of the specified \s-1CTF\s0 section. \s-1CTF\s0 sections themselves
  1130. contain many subsections, all of which are displayed in order.
  1131. .Sp
  1132. By default, display the name of the section named \fI.ctf\fR, which is the
  1133. name emitted by \fBld\fR.
  1134. .IP "\fB\-\-ctf\-parent=\fR\fImember\fR" 4
  1135. .IX Item "--ctf-parent=member"
  1136. If the \s-1CTF\s0 section contains ambiguously-defined types, it will consist
  1137. of an archive of many \s-1CTF\s0 dictionaries, all inheriting from one
  1138. dictionary containing unambiguous types. This member is by default
  1139. named \fI.ctf\fR, like the section containing it, but it is possible to
  1140. change this name using the \f(CW\*(C`ctf_link_set_memb_name_changer\*(C'\fR
  1141. function at link time. When looking at \s-1CTF\s0 archives that have been
  1142. created by a linker that uses the name changer to rename the parent
  1143. archive member, \fB\-\-ctf\-parent\fR can be used to specify the name
  1144. used for the parent.
  1145. .IP "\fB\-G\fR" 4
  1146. .IX Item "-G"
  1147. .PD 0
  1148. .IP "\fB\-\-stabs\fR" 4
  1149. .IX Item "--stabs"
  1150. .PD
  1151. Display the full contents of any sections requested. Display the
  1152. contents of the .stab and .stab.index and .stab.excl sections from an
  1153. \&\s-1ELF\s0 file. This is only useful on systems (such as Solaris 2.0) in which
  1154. \&\f(CW\*(C`.stab\*(C'\fR debugging symbol-table entries are carried in an \s-1ELF\s0
  1155. section. In most other file formats, debugging symbol-table entries are
  1156. interleaved with linkage symbols, and are visible in the \fB\-\-syms\fR
  1157. output.
  1158. .IP "\fB\-\-start\-address=\fR\fIaddress\fR" 4
  1159. .IX Item "--start-address=address"
  1160. Start displaying data at the specified address. This affects the output
  1161. of the \fB\-d\fR, \fB\-r\fR and \fB\-s\fR options.
  1162. .IP "\fB\-\-stop\-address=\fR\fIaddress\fR" 4
  1163. .IX Item "--stop-address=address"
  1164. Stop displaying data at the specified address. This affects the output
  1165. of the \fB\-d\fR, \fB\-r\fR and \fB\-s\fR options.
  1166. .IP "\fB\-t\fR" 4
  1167. .IX Item "-t"
  1168. .PD 0
  1169. .IP "\fB\-\-syms\fR" 4
  1170. .IX Item "--syms"
  1171. .PD
  1172. Print the symbol table entries of the file.
  1173. This is similar to the information provided by the \fBnm\fR program,
  1174. although the display format is different. The format of the output
  1175. depends upon the format of the file being dumped, but there are two main
  1176. types. One looks like this:
  1177. .Sp
  1178. .Vb 2
  1179. \& [ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .bss
  1180. \& [ 6](sec 1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 fred
  1181. .Ve
  1182. .Sp
  1183. where the number inside the square brackets is the number of the entry
  1184. in the symbol table, the \fIsec\fR number is the section number, the
  1185. \&\fIfl\fR value are the symbol's flag bits, the \fIty\fR number is the
  1186. symbol's type, the \fIscl\fR number is the symbol's storage class and
  1187. the \fInx\fR value is the number of auxiliary entries associated with
  1188. the symbol. The last two fields are the symbol's value and its name.
  1189. .Sp
  1190. The other common output format, usually seen with \s-1ELF\s0 based files,
  1191. looks like this:
  1192. .Sp
  1193. .Vb 2
  1194. \& 00000000 l d .bss 00000000 .bss
  1195. \& 00000000 g .text 00000000 fred
  1196. .Ve
  1197. .Sp
  1198. Here the first number is the symbol's value (sometimes referred to as
  1199. its address). The next field is actually a set of characters and
  1200. spaces indicating the flag bits that are set on the symbol. These
  1201. characters are described below. Next is the section with which the
  1202. symbol is associated or \fI*ABS*\fR if the section is absolute (ie
  1203. not connected with any section), or \fI*UND*\fR if the section is
  1204. referenced in the file being dumped, but not defined there.
  1205. .Sp
  1206. After the section name comes another field, a number, which for common
  1207. symbols is the alignment and for other symbol is the size. Finally
  1208. the symbol's name is displayed.
  1209. .Sp
  1210. The flag characters are divided into 7 groups as follows:
  1211. .RS 4
  1212. .ie n .IP """l""" 4
  1213. .el .IP "\f(CWl\fR" 4
  1214. .IX Item "l"
  1215. .PD 0
  1216. .ie n .IP """g""" 4
  1217. .el .IP "\f(CWg\fR" 4
  1218. .IX Item "g"
  1219. .ie n .IP """u""" 4
  1220. .el .IP "\f(CWu\fR" 4
  1221. .IX Item "u"
  1222. .ie n .IP """!""" 4
  1223. .el .IP "\f(CW!\fR" 4
  1224. .IX Item "!"
  1225. .PD
  1226. The symbol is a local (l), global (g), unique global (u), neither
  1227. global nor local (a space) or both global and local (!). A
  1228. symbol can be neither local or global for a variety of reasons, e.g.,
  1229. because it is used for debugging, but it is probably an indication of
  1230. a bug if it is ever both local and global. Unique global symbols are
  1231. a \s-1GNU\s0 extension to the standard set of \s-1ELF\s0 symbol bindings. For such
  1232. a symbol the dynamic linker will make sure that in the entire process
  1233. there is just one symbol with this name and type in use.
  1234. .ie n .IP """w""" 4
  1235. .el .IP "\f(CWw\fR" 4
  1236. .IX Item "w"
  1237. The symbol is weak (w) or strong (a space).
  1238. .ie n .IP """C""" 4
  1239. .el .IP "\f(CWC\fR" 4
  1240. .IX Item "C"
  1241. The symbol denotes a constructor (C) or an ordinary symbol (a space).
  1242. .ie n .IP """W""" 4
  1243. .el .IP "\f(CWW\fR" 4
  1244. .IX Item "W"
  1245. The symbol is a warning (W) or a normal symbol (a space). A warning
  1246. symbol's name is a message to be displayed if the symbol following the
  1247. warning symbol is ever referenced.
  1248. .ie n .IP """I""" 4
  1249. .el .IP "\f(CWI\fR" 4
  1250. .IX Item "I"
  1251. .PD 0
  1252. .ie n .IP """i""" 4
  1253. .el .IP "\f(CWi\fR" 4
  1254. .IX Item "i"
  1255. .PD
  1256. The symbol is an indirect reference to another symbol (I), a function
  1257. to be evaluated during reloc processing (i) or a normal symbol (a
  1258. space).
  1259. .ie n .IP """d""" 4
  1260. .el .IP "\f(CWd\fR" 4
  1261. .IX Item "d"
  1262. .PD 0
  1263. .ie n .IP """D""" 4
  1264. .el .IP "\f(CWD\fR" 4
  1265. .IX Item "D"
  1266. .PD
  1267. The symbol is a debugging symbol (d) or a dynamic symbol (D) or a
  1268. normal symbol (a space).
  1269. .ie n .IP """F""" 4
  1270. .el .IP "\f(CWF\fR" 4
  1271. .IX Item "F"
  1272. .PD 0
  1273. .ie n .IP """f""" 4
  1274. .el .IP "\f(CWf\fR" 4
  1275. .IX Item "f"
  1276. .ie n .IP """O""" 4
  1277. .el .IP "\f(CWO\fR" 4
  1278. .IX Item "O"
  1279. .PD
  1280. The symbol is the name of a function (F) or a file (f) or an object
  1281. (O) or just a normal symbol (a space).
  1282. .RE
  1283. .RS 4
  1284. .RE
  1285. .IP "\fB\-T\fR" 4
  1286. .IX Item "-T"
  1287. .PD 0
  1288. .IP "\fB\-\-dynamic\-syms\fR" 4
  1289. .IX Item "--dynamic-syms"
  1290. .PD
  1291. Print the dynamic symbol table entries of the file. This is only
  1292. meaningful for dynamic objects, such as certain types of shared
  1293. libraries. This is similar to the information provided by the \fBnm\fR
  1294. program when given the \fB\-D\fR (\fB\-\-dynamic\fR) option.
  1295. .Sp
  1296. The output format is similar to that produced by the \fB\-\-syms\fR
  1297. option, except that an extra field is inserted before the symbol's
  1298. name, giving the version information associated with the symbol.
  1299. If the version is the default version to be used when resolving
  1300. unversioned references to the symbol then it's displayed as is,
  1301. otherwise it's put into parentheses.
  1302. .IP "\fB\-\-special\-syms\fR" 4
  1303. .IX Item "--special-syms"
  1304. When displaying symbols include those which the target considers to be
  1305. special in some way and which would not normally be of interest to the
  1306. user.
  1307. .IP "\fB\-U\fR \fI[d|i|l|e|x|h]\fR" 4
  1308. .IX Item "-U [d|i|l|e|x|h]"
  1309. .PD 0
  1310. .IP "\fB\-\-unicode=\fR\fI[default|invalid|locale|escape|hex|highlight]\fR" 4
  1311. .IX Item "--unicode=[default|invalid|locale|escape|hex|highlight]"
  1312. .PD
  1313. Controls the display of \s-1UTF\-8\s0 encoded multibyte characters in strings.
  1314. The default (\fB\-\-unicode=default\fR) is to give them no special
  1315. treatment. The \fB\-\-unicode=locale\fR option displays the sequence
  1316. in the current locale, which may or may not support them. The options
  1317. \&\fB\-\-unicode=hex\fR and \fB\-\-unicode=invalid\fR display them as
  1318. hex byte sequences enclosed by either angle brackets or curly braces.
  1319. .Sp
  1320. The \fB\-\-unicode=escape\fR option displays them as escape sequences
  1321. (\fI\euxxxx\fR) and the \fB\-\-unicode=highlight\fR option displays
  1322. them as escape sequences highlighted in red (if supported by the
  1323. output device). The colouring is intended to draw attention to the
  1324. presence of unicode sequences where they might not be expected.
  1325. .IP "\fB\-V\fR" 4
  1326. .IX Item "-V"
  1327. .PD 0
  1328. .IP "\fB\-\-version\fR" 4
  1329. .IX Item "--version"
  1330. .PD
  1331. Print the version number of \fBobjdump\fR and exit.
  1332. .IP "\fB\-x\fR" 4
  1333. .IX Item "-x"
  1334. .PD 0
  1335. .IP "\fB\-\-all\-headers\fR" 4
  1336. .IX Item "--all-headers"
  1337. .PD
  1338. Display all available header information, including the symbol table and
  1339. relocation entries. Using \fB\-x\fR is equivalent to specifying all of
  1340. \&\fB\-a \-f \-h \-p \-r \-t\fR.
  1341. .IP "\fB\-w\fR" 4
  1342. .IX Item "-w"
  1343. .PD 0
  1344. .IP "\fB\-\-wide\fR" 4
  1345. .IX Item "--wide"
  1346. .PD
  1347. Format some lines for output devices that have more than 80 columns.
  1348. Also do not truncate symbol names when they are displayed.
  1349. .IP "\fB\-z\fR" 4
  1350. .IX Item "-z"
  1351. .PD 0
  1352. .IP "\fB\-\-disassemble\-zeroes\fR" 4
  1353. .IX Item "--disassemble-zeroes"
  1354. .PD
  1355. Normally the disassembly output will skip blocks of zeroes. This
  1356. option directs the disassembler to disassemble those blocks, just like
  1357. any other data.
  1358. .IP "\fB@\fR\fIfile\fR" 4
  1359. .IX Item "@file"
  1360. Read command-line options from \fIfile\fR. The options read are
  1361. inserted in place of the original @\fIfile\fR option. If \fIfile\fR
  1362. does not exist, or cannot be read, then the option will be treated
  1363. literally, and not removed.
  1364. .Sp
  1365. Options in \fIfile\fR are separated by whitespace. A whitespace
  1366. character may be included in an option by surrounding the entire
  1367. option in either single or double quotes. Any character (including a
  1368. backslash) may be included by prefixing the character to be included
  1369. with a backslash. The \fIfile\fR may itself contain additional
  1370. @\fIfile\fR options; any such options will be processed recursively.
  1371. .SH "SEE ALSO"
  1372. .IX Header "SEE ALSO"
  1373. \&\fBnm\fR\|(1), \fBreadelf\fR\|(1), and the Info entries for \fIbinutils\fR.
  1374. .SH "COPYRIGHT"
  1375. .IX Header "COPYRIGHT"
  1376. Copyright (c) 1991\-2022 Free Software Foundation, Inc.
  1377. .PP
  1378. Permission is granted to copy, distribute and/or modify this document
  1379. under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3
  1380. or any later version published by the Free Software Foundation;
  1381. with no Invariant Sections, with no Front-Cover Texts, and with no
  1382. Back-Cover Texts. A copy of the license is included in the
  1383. section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".