arm-linux-gnueabihf-objdump.1 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997
  1. .\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
  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 turned on, 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 "2017-03-02" "binutils-2.28" "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]
  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\-m\fR \fImachine\fR|\fB\-\-architecture=\fR\fImachine\fR]
  163. [\fB\-M\fR \fIoptions\fR|\fB\-\-disassembler\-options=\fR\fIoptions\fR]
  164. [\fB\-p\fR|\fB\-\-private\-headers\fR]
  165. [\fB\-P\fR \fIoptions\fR|\fB\-\-private=\fR\fIoptions\fR]
  166. [\fB\-r\fR|\fB\-\-reloc\fR]
  167. [\fB\-R\fR|\fB\-\-dynamic\-reloc\fR]
  168. [\fB\-s\fR|\fB\-\-full\-contents\fR]
  169. [\fB\-W[lLiaprmfFsoRt]\fR|
  170. \fB\-\-dwarf\fR[=rawline,=decodedline,=info,=abbrev,=pubnames]
  171. [=aranges,=macro,=frames,=frames\-interp,=str,=loc]
  172. [=Ranges,=pubtypes,=trace_info,=trace_abbrev]
  173. [=trace_aranges,=gdb_index]
  174. [\fB\-G\fR|\fB\-\-stabs\fR]
  175. [\fB\-t\fR|\fB\-\-syms\fR]
  176. [\fB\-T\fR|\fB\-\-dynamic\-syms\fR]
  177. [\fB\-x\fR|\fB\-\-all\-headers\fR]
  178. [\fB\-w\fR|\fB\-\-wide\fR]
  179. [\fB\-\-start\-address=\fR\fIaddress\fR]
  180. [\fB\-\-stop\-address=\fR\fIaddress\fR]
  181. [\fB\-\-prefix\-addresses\fR]
  182. [\fB\-\-[no\-]show\-raw\-insn\fR]
  183. [\fB\-\-adjust\-vma=\fR\fIoffset\fR]
  184. [\fB\-\-dwarf\-depth=\fR\fIn\fR]
  185. [\fB\-\-dwarf\-start=\fR\fIn\fR]
  186. [\fB\-\-special\-syms\fR]
  187. [\fB\-\-prefix=\fR\fIprefix\fR]
  188. [\fB\-\-prefix\-strip=\fR\fIlevel\fR]
  189. [\fB\-\-insn\-width=\fR\fIwidth\fR]
  190. [\fB\-V\fR|\fB\-\-version\fR]
  191. [\fB\-H\fR|\fB\-\-help\fR]
  192. \fIobjfile\fR...
  193. .SH "DESCRIPTION"
  194. .IX Header "DESCRIPTION"
  195. \&\fBobjdump\fR displays information about one or more object files.
  196. The options control what particular information to display. This
  197. information is mostly useful to programmers who are working on the
  198. compilation tools, as opposed to programmers who just want their
  199. program to compile and work.
  200. .PP
  201. \&\fIobjfile\fR... are the object files to be examined. When you
  202. specify archives, \fBobjdump\fR shows information on each of the member
  203. object files.
  204. .SH "OPTIONS"
  205. .IX Header "OPTIONS"
  206. The long and short forms of options, shown here as alternatives, are
  207. equivalent. At least one option from the list
  208. \&\fB\-a,\-d,\-D,\-e,\-f,\-g,\-G,\-h,\-H,\-p,\-P,\-r,\-R,\-s,\-S,\-t,\-T,\-V,\-x\fR must be given.
  209. .IP "\fB\-a\fR" 4
  210. .IX Item "-a"
  211. .PD 0
  212. .IP "\fB\-\-archive\-header\fR" 4
  213. .IX Item "--archive-header"
  214. .PD
  215. If any of the \fIobjfile\fR files are archives, display the archive
  216. header information (in a format similar to \fBls \-l\fR). Besides the
  217. information you could list with \fBar tv\fR, \fBobjdump \-a\fR shows
  218. the object file format of each archive member.
  219. .IP "\fB\-\-adjust\-vma=\fR\fIoffset\fR" 4
  220. .IX Item "--adjust-vma=offset"
  221. When dumping information, first add \fIoffset\fR to all the section
  222. addresses. This is useful if the section addresses do not correspond to
  223. the symbol table, which can happen when putting sections at particular
  224. addresses when using a format which can not represent section addresses,
  225. such as a.out.
  226. .IP "\fB\-b\fR \fIbfdname\fR" 4
  227. .IX Item "-b bfdname"
  228. .PD 0
  229. .IP "\fB\-\-target=\fR\fIbfdname\fR" 4
  230. .IX Item "--target=bfdname"
  231. .PD
  232. Specify that the object-code format for the object files is
  233. \&\fIbfdname\fR. This option may not be necessary; \fIobjdump\fR can
  234. automatically recognize many formats.
  235. .Sp
  236. For example,
  237. .Sp
  238. .Vb 1
  239. \& objdump \-b oasys \-m vax \-h fu.o
  240. .Ve
  241. .Sp
  242. displays summary information from the section headers (\fB\-h\fR) of
  243. \&\fIfu.o\fR, which is explicitly identified (\fB\-m\fR) as a \s-1VAX\s0 object
  244. file in the format produced by Oasys compilers. You can list the
  245. formats available with the \fB\-i\fR option.
  246. .IP "\fB\-C\fR" 4
  247. .IX Item "-C"
  248. .PD 0
  249. .IP "\fB\-\-demangle[=\fR\fIstyle\fR\fB]\fR" 4
  250. .IX Item "--demangle[=style]"
  251. .PD
  252. Decode (\fIdemangle\fR) low-level symbol names into user-level names.
  253. Besides removing any initial underscore prepended by the system, this
  254. makes \*(C+ function names readable. Different compilers have different
  255. mangling styles. The optional demangling style argument can be used to
  256. choose an appropriate demangling style for your compiler.
  257. .IP "\fB\-g\fR" 4
  258. .IX Item "-g"
  259. .PD 0
  260. .IP "\fB\-\-debugging\fR" 4
  261. .IX Item "--debugging"
  262. .PD
  263. Display debugging information. This attempts to parse \s-1STABS\s0 and \s-1IEEE\s0
  264. debugging format information stored in the file and print it out using
  265. a C like syntax. If neither of these formats are found this option
  266. falls back on the \fB\-W\fR option to print any \s-1DWARF\s0 information in
  267. the file.
  268. .IP "\fB\-e\fR" 4
  269. .IX Item "-e"
  270. .PD 0
  271. .IP "\fB\-\-debugging\-tags\fR" 4
  272. .IX Item "--debugging-tags"
  273. .PD
  274. Like \fB\-g\fR, but the information is generated in a format compatible
  275. with ctags tool.
  276. .IP "\fB\-d\fR" 4
  277. .IX Item "-d"
  278. .PD 0
  279. .IP "\fB\-\-disassemble\fR" 4
  280. .IX Item "--disassemble"
  281. .PD
  282. Display the assembler mnemonics for the machine instructions from
  283. \&\fIobjfile\fR. This option only disassembles those sections which are
  284. expected to contain instructions.
  285. .IP "\fB\-D\fR" 4
  286. .IX Item "-D"
  287. .PD 0
  288. .IP "\fB\-\-disassemble\-all\fR" 4
  289. .IX Item "--disassemble-all"
  290. .PD
  291. Like \fB\-d\fR, but disassemble the contents of all sections, not just
  292. those expected to contain instructions.
  293. .Sp
  294. This option also has a subtle effect on the disassembly of
  295. instructions in code sections. When option \fB\-d\fR is in effect
  296. objdump will assume that any symbols present in a code section occur
  297. on the boundary between instructions and it will refuse to disassemble
  298. across such a boundary. When option \fB\-D\fR is in effect however
  299. this assumption is supressed. This means that it is possible for the
  300. output of \fB\-d\fR and \fB\-D\fR to differ if, for example, data
  301. is stored in code sections.
  302. .Sp
  303. If the target is an \s-1ARM\s0 architecture this switch also has the effect
  304. of forcing the disassembler to decode pieces of data found in code
  305. sections as if they were instructions.
  306. .IP "\fB\-\-prefix\-addresses\fR" 4
  307. .IX Item "--prefix-addresses"
  308. When disassembling, print the complete address on each line. This is
  309. the older disassembly format.
  310. .IP "\fB\-EB\fR" 4
  311. .IX Item "-EB"
  312. .PD 0
  313. .IP "\fB\-EL\fR" 4
  314. .IX Item "-EL"
  315. .IP "\fB\-\-endian={big|little}\fR" 4
  316. .IX Item "--endian={big|little}"
  317. .PD
  318. Specify the endianness of the object files. This only affects
  319. disassembly. This can be useful when disassembling a file format which
  320. does not describe endianness information, such as S\-records.
  321. .IP "\fB\-f\fR" 4
  322. .IX Item "-f"
  323. .PD 0
  324. .IP "\fB\-\-file\-headers\fR" 4
  325. .IX Item "--file-headers"
  326. .PD
  327. Display summary information from the overall header of
  328. each of the \fIobjfile\fR files.
  329. .IP "\fB\-F\fR" 4
  330. .IX Item "-F"
  331. .PD 0
  332. .IP "\fB\-\-file\-offsets\fR" 4
  333. .IX Item "--file-offsets"
  334. .PD
  335. When disassembling sections, whenever a symbol is displayed, also
  336. display the file offset of the region of data that is about to be
  337. dumped. If zeroes are being skipped, then when disassembly resumes,
  338. tell the user how many zeroes were skipped and the file offset of the
  339. location from where the disassembly resumes. When dumping sections,
  340. display the file offset of the location from where the dump starts.
  341. .IP "\fB\-\-file\-start\-context\fR" 4
  342. .IX Item "--file-start-context"
  343. Specify that when displaying interlisted source code/disassembly
  344. (assumes \fB\-S\fR) from a file that has not yet been displayed, extend the
  345. context to the start of the file.
  346. .IP "\fB\-h\fR" 4
  347. .IX Item "-h"
  348. .PD 0
  349. .IP "\fB\-\-section\-headers\fR" 4
  350. .IX Item "--section-headers"
  351. .IP "\fB\-\-headers\fR" 4
  352. .IX Item "--headers"
  353. .PD
  354. Display summary information from the section headers of the
  355. object file.
  356. .Sp
  357. File segments may be relocated to nonstandard addresses, for example by
  358. using the \fB\-Ttext\fR, \fB\-Tdata\fR, or \fB\-Tbss\fR options to
  359. \&\fBld\fR. However, some object file formats, such as a.out, do not
  360. store the starting address of the file segments. In those situations,
  361. although \fBld\fR relocates the sections correctly, using \fBobjdump
  362. \&\-h\fR to list the file section headers cannot show the correct addresses.
  363. Instead, it shows the usual addresses, which are implicit for the
  364. target.
  365. .Sp
  366. Note, in some cases it is possible for a section to have both the
  367. \&\s-1READONLY\s0 and the \s-1NOREAD\s0 attributes set. In such cases the \s-1NOREAD\s0
  368. attribute takes precedence, but \fBobjdump\fR will report both
  369. since the exact setting of the flag bits might be important.
  370. .IP "\fB\-H\fR" 4
  371. .IX Item "-H"
  372. .PD 0
  373. .IP "\fB\-\-help\fR" 4
  374. .IX Item "--help"
  375. .PD
  376. Print a summary of the options to \fBobjdump\fR and exit.
  377. .IP "\fB\-i\fR" 4
  378. .IX Item "-i"
  379. .PD 0
  380. .IP "\fB\-\-info\fR" 4
  381. .IX Item "--info"
  382. .PD
  383. Display a list showing all architectures and object formats available
  384. for specification with \fB\-b\fR or \fB\-m\fR.
  385. .IP "\fB\-j\fR \fIname\fR" 4
  386. .IX Item "-j name"
  387. .PD 0
  388. .IP "\fB\-\-section=\fR\fIname\fR" 4
  389. .IX Item "--section=name"
  390. .PD
  391. Display information only for section \fIname\fR.
  392. .IP "\fB\-l\fR" 4
  393. .IX Item "-l"
  394. .PD 0
  395. .IP "\fB\-\-line\-numbers\fR" 4
  396. .IX Item "--line-numbers"
  397. .PD
  398. Label the display (using debugging information) with the filename and
  399. source line numbers corresponding to the object code or relocs shown.
  400. Only useful with \fB\-d\fR, \fB\-D\fR, or \fB\-r\fR.
  401. .IP "\fB\-m\fR \fImachine\fR" 4
  402. .IX Item "-m machine"
  403. .PD 0
  404. .IP "\fB\-\-architecture=\fR\fImachine\fR" 4
  405. .IX Item "--architecture=machine"
  406. .PD
  407. Specify the architecture to use when disassembling object files. This
  408. can be useful when disassembling object files which do not describe
  409. architecture information, such as S\-records. You can list the available
  410. architectures with the \fB\-i\fR option.
  411. .Sp
  412. If the target is an \s-1ARM\s0 architecture then this switch has an
  413. additional effect. It restricts the disassembly to only those
  414. instructions supported by the architecture specified by \fImachine\fR.
  415. If it is necessary to use this switch because the input file does not
  416. contain any architecture information, but it is also desired to
  417. disassemble all the instructions use \fB\-marm\fR.
  418. .IP "\fB\-M\fR \fIoptions\fR" 4
  419. .IX Item "-M options"
  420. .PD 0
  421. .IP "\fB\-\-disassembler\-options=\fR\fIoptions\fR" 4
  422. .IX Item "--disassembler-options=options"
  423. .PD
  424. Pass target specific information to the disassembler. Only supported on
  425. some targets. If it is necessary to specify more than one
  426. disassembler option then multiple \fB\-M\fR options can be used or
  427. can be placed together into a comma separated list.
  428. .Sp
  429. For \s-1ARC, \s0\fBdsp\fR controls the printing of \s-1DSP\s0 instructions,
  430. \&\fBspfp\fR selects the printing of \s-1FPX\s0 single precision \s-1FP\s0
  431. instructions, \fBdpfp\fR selects the printing of \s-1FPX\s0 double
  432. precision \s-1FP\s0 instructions, \fBquarkse_em\fR selects the printing of
  433. special QuarkSE-EM instructions, \fBfpuda\fR selects the printing
  434. of double precision assist instructions, \fBfpus\fR selects the
  435. printing of \s-1FPU\s0 single precision \s-1FP\s0 instructions, while \fBfpud\fR
  436. selects the printing of \s-1FPU\s0 souble precision \s-1FP\s0 instructions.
  437. .Sp
  438. If the target is an \s-1ARM\s0 architecture then this switch can be used to
  439. select which register name set is used during disassembler. Specifying
  440. \&\fB\-M reg-names-std\fR (the default) will select the register names as
  441. used in \s-1ARM\s0's instruction set documentation, but with register 13 called
  442. \&'sp', register 14 called 'lr' and register 15 called 'pc'. Specifying
  443. \&\fB\-M reg-names-apcs\fR will select the name set used by the \s-1ARM\s0
  444. Procedure Call Standard, whilst specifying \fB\-M reg-names-raw\fR will
  445. just use \fBr\fR followed by the register number.
  446. .Sp
  447. There are also two variants on the \s-1APCS\s0 register naming scheme enabled
  448. by \fB\-M reg-names-atpcs\fR and \fB\-M reg-names-special-atpcs\fR which
  449. use the ARM/Thumb Procedure Call Standard naming conventions. (Either
  450. with the normal register names or the special register names).
  451. .Sp
  452. This option can also be used for \s-1ARM\s0 architectures to force the
  453. disassembler to interpret all instructions as Thumb instructions by
  454. using the switch \fB\-\-disassembler\-options=force\-thumb\fR. This can be
  455. useful when attempting to disassemble thumb code produced by other
  456. compilers.
  457. .Sp
  458. For the x86, some of the options duplicate functions of the \fB\-m\fR
  459. switch, but allow finer grained control. Multiple selections from the
  460. following may be specified as a comma separated string.
  461. .RS 4
  462. .ie n .IP """x86\-64""" 4
  463. .el .IP "\f(CWx86\-64\fR" 4
  464. .IX Item "x86-64"
  465. .PD 0
  466. .ie n .IP """i386""" 4
  467. .el .IP "\f(CWi386\fR" 4
  468. .IX Item "i386"
  469. .ie n .IP """i8086""" 4
  470. .el .IP "\f(CWi8086\fR" 4
  471. .IX Item "i8086"
  472. .PD
  473. Select disassembly for the given architecture.
  474. .ie n .IP """intel""" 4
  475. .el .IP "\f(CWintel\fR" 4
  476. .IX Item "intel"
  477. .PD 0
  478. .ie n .IP """att""" 4
  479. .el .IP "\f(CWatt\fR" 4
  480. .IX Item "att"
  481. .PD
  482. Select between intel syntax mode and \s-1AT&T\s0 syntax mode.
  483. .ie n .IP """amd64""" 4
  484. .el .IP "\f(CWamd64\fR" 4
  485. .IX Item "amd64"
  486. .PD 0
  487. .ie n .IP """intel64""" 4
  488. .el .IP "\f(CWintel64\fR" 4
  489. .IX Item "intel64"
  490. .PD
  491. Select between \s-1AMD64 ISA\s0 and Intel64 \s-1ISA.\s0
  492. .ie n .IP """intel\-mnemonic""" 4
  493. .el .IP "\f(CWintel\-mnemonic\fR" 4
  494. .IX Item "intel-mnemonic"
  495. .PD 0
  496. .ie n .IP """att\-mnemonic""" 4
  497. .el .IP "\f(CWatt\-mnemonic\fR" 4
  498. .IX Item "att-mnemonic"
  499. .PD
  500. Select between intel mnemonic mode and \s-1AT&T\s0 mnemonic mode.
  501. Note: \f(CW\*(C`intel\-mnemonic\*(C'\fR implies \f(CW\*(C`intel\*(C'\fR and
  502. \&\f(CW\*(C`att\-mnemonic\*(C'\fR implies \f(CW\*(C`att\*(C'\fR.
  503. .ie n .IP """addr64""" 4
  504. .el .IP "\f(CWaddr64\fR" 4
  505. .IX Item "addr64"
  506. .PD 0
  507. .ie n .IP """addr32""" 4
  508. .el .IP "\f(CWaddr32\fR" 4
  509. .IX Item "addr32"
  510. .ie n .IP """addr16""" 4
  511. .el .IP "\f(CWaddr16\fR" 4
  512. .IX Item "addr16"
  513. .ie n .IP """data32""" 4
  514. .el .IP "\f(CWdata32\fR" 4
  515. .IX Item "data32"
  516. .ie n .IP """data16""" 4
  517. .el .IP "\f(CWdata16\fR" 4
  518. .IX Item "data16"
  519. .PD
  520. Specify the default address size and operand size. These four options
  521. will be overridden if \f(CW\*(C`x86\-64\*(C'\fR, \f(CW\*(C`i386\*(C'\fR or \f(CW\*(C`i8086\*(C'\fR
  522. appear later in the option string.
  523. .ie n .IP """suffix""" 4
  524. .el .IP "\f(CWsuffix\fR" 4
  525. .IX Item "suffix"
  526. When in \s-1AT&T\s0 mode, instructs the disassembler to print a mnemonic
  527. suffix even when the suffix could be inferred by the operands.
  528. .RE
  529. .RS 4
  530. .Sp
  531. For PowerPC, \fBbooke\fR controls the disassembly of BookE
  532. instructions. \fB32\fR and \fB64\fR select PowerPC and
  533. PowerPC64 disassembly, respectively. \fBe300\fR selects
  534. disassembly for the e300 family. \fB440\fR selects disassembly for
  535. the PowerPC 440. \fBppcps\fR selects disassembly for the paired
  536. single instructions of the \s-1PPC750CL.\s0
  537. .Sp
  538. For \s-1MIPS,\s0 this option controls the printing of instruction mnemonic
  539. names and register names in disassembled instructions. Multiple
  540. selections from the following may be specified as a comma separated
  541. string, and invalid options are ignored:
  542. .ie n .IP """no\-aliases""" 4
  543. .el .IP "\f(CWno\-aliases\fR" 4
  544. .IX Item "no-aliases"
  545. Print the 'raw' instruction mnemonic instead of some pseudo
  546. instruction mnemonic. I.e., print 'daddu' or 'or' instead of 'move',
  547. \&'sll' instead of 'nop', etc.
  548. .ie n .IP """msa""" 4
  549. .el .IP "\f(CWmsa\fR" 4
  550. .IX Item "msa"
  551. Disassemble \s-1MSA\s0 instructions.
  552. .ie n .IP """virt""" 4
  553. .el .IP "\f(CWvirt\fR" 4
  554. .IX Item "virt"
  555. Disassemble the virtualization \s-1ASE\s0 instructions.
  556. .ie n .IP """xpa""" 4
  557. .el .IP "\f(CWxpa\fR" 4
  558. .IX Item "xpa"
  559. Disassemble the eXtended Physical Address (\s-1XPA\s0) \s-1ASE\s0 instructions.
  560. .ie n .IP """gpr\-names=\f(CIABI\f(CW""" 4
  561. .el .IP "\f(CWgpr\-names=\f(CIABI\f(CW\fR" 4
  562. .IX Item "gpr-names=ABI"
  563. Print \s-1GPR \s0(general-purpose register) names as appropriate
  564. for the specified \s-1ABI. \s0 By default, \s-1GPR\s0 names are selected according to
  565. the \s-1ABI\s0 of the binary being disassembled.
  566. .ie n .IP """fpr\-names=\f(CIABI\f(CW""" 4
  567. .el .IP "\f(CWfpr\-names=\f(CIABI\f(CW\fR" 4
  568. .IX Item "fpr-names=ABI"
  569. Print \s-1FPR \s0(floating-point register) names as
  570. appropriate for the specified \s-1ABI. \s0 By default, \s-1FPR\s0 numbers are printed
  571. rather than names.
  572. .ie n .IP """cp0\-names=\f(CIARCH\f(CW""" 4
  573. .el .IP "\f(CWcp0\-names=\f(CIARCH\f(CW\fR" 4
  574. .IX Item "cp0-names=ARCH"
  575. Print \s-1CP0 \s0(system control coprocessor; coprocessor 0) register names
  576. as appropriate for the \s-1CPU\s0 or architecture specified by
  577. \&\fI\s-1ARCH\s0\fR. By default, \s-1CP0\s0 register names are selected according to
  578. the architecture and \s-1CPU\s0 of the binary being disassembled.
  579. .ie n .IP """hwr\-names=\f(CIARCH\f(CW""" 4
  580. .el .IP "\f(CWhwr\-names=\f(CIARCH\f(CW\fR" 4
  581. .IX Item "hwr-names=ARCH"
  582. Print \s-1HWR \s0(hardware register, used by the \f(CW\*(C`rdhwr\*(C'\fR instruction) names
  583. as appropriate for the \s-1CPU\s0 or architecture specified by
  584. \&\fI\s-1ARCH\s0\fR. By default, \s-1HWR\s0 names are selected according to
  585. the architecture and \s-1CPU\s0 of the binary being disassembled.
  586. .ie n .IP """reg\-names=\f(CIABI\f(CW""" 4
  587. .el .IP "\f(CWreg\-names=\f(CIABI\f(CW\fR" 4
  588. .IX Item "reg-names=ABI"
  589. Print \s-1GPR\s0 and \s-1FPR\s0 names as appropriate for the selected \s-1ABI.\s0
  590. .ie n .IP """reg\-names=\f(CIARCH\f(CW""" 4
  591. .el .IP "\f(CWreg\-names=\f(CIARCH\f(CW\fR" 4
  592. .IX Item "reg-names=ARCH"
  593. Print CPU-specific register names (\s-1CP0\s0 register and \s-1HWR\s0 names)
  594. as appropriate for the selected \s-1CPU\s0 or architecture.
  595. .RE
  596. .RS 4
  597. .Sp
  598. For any of the options listed above, \fI\s-1ABI\s0\fR or
  599. \&\fI\s-1ARCH\s0\fR may be specified as \fBnumeric\fR to have numbers printed
  600. rather than names, for the selected types of registers.
  601. You can list the available values of \fI\s-1ABI\s0\fR and \fI\s-1ARCH\s0\fR using
  602. the \fB\-\-help\fR option.
  603. .Sp
  604. For \s-1VAX,\s0 you can specify function entry addresses with \fB\-M
  605. entry:0xf00ba\fR. You can use this multiple times to properly
  606. disassemble \s-1VAX\s0 binary files that don't contain symbol tables (like
  607. \&\s-1ROM\s0 dumps). In these cases, the function entry mask would otherwise
  608. be decoded as \s-1VAX\s0 instructions, which would probably lead the rest
  609. of the function being wrongly disassembled.
  610. .RE
  611. .IP "\fB\-p\fR" 4
  612. .IX Item "-p"
  613. .PD 0
  614. .IP "\fB\-\-private\-headers\fR" 4
  615. .IX Item "--private-headers"
  616. .PD
  617. Print information that is specific to the object file format. The exact
  618. information printed depends upon the object file format. For some
  619. object file formats, no additional information is printed.
  620. .IP "\fB\-P\fR \fIoptions\fR" 4
  621. .IX Item "-P options"
  622. .PD 0
  623. .IP "\fB\-\-private=\fR\fIoptions\fR" 4
  624. .IX Item "--private=options"
  625. .PD
  626. Print information that is specific to the object file format. The
  627. argument \fIoptions\fR is a comma separated list that depends on the
  628. format (the lists of options is displayed with the help).
  629. .Sp
  630. For \s-1XCOFF,\s0 the available options are:
  631. .RS 4
  632. .ie n .IP """header""" 4
  633. .el .IP "\f(CWheader\fR" 4
  634. .IX Item "header"
  635. .PD 0
  636. .ie n .IP """aout""" 4
  637. .el .IP "\f(CWaout\fR" 4
  638. .IX Item "aout"
  639. .ie n .IP """sections""" 4
  640. .el .IP "\f(CWsections\fR" 4
  641. .IX Item "sections"
  642. .ie n .IP """syms""" 4
  643. .el .IP "\f(CWsyms\fR" 4
  644. .IX Item "syms"
  645. .ie n .IP """relocs""" 4
  646. .el .IP "\f(CWrelocs\fR" 4
  647. .IX Item "relocs"
  648. .ie n .IP """lineno,""" 4
  649. .el .IP "\f(CWlineno,\fR" 4
  650. .IX Item "lineno,"
  651. .ie n .IP """loader""" 4
  652. .el .IP "\f(CWloader\fR" 4
  653. .IX Item "loader"
  654. .ie n .IP """except""" 4
  655. .el .IP "\f(CWexcept\fR" 4
  656. .IX Item "except"
  657. .ie n .IP """typchk""" 4
  658. .el .IP "\f(CWtypchk\fR" 4
  659. .IX Item "typchk"
  660. .ie n .IP """traceback""" 4
  661. .el .IP "\f(CWtraceback\fR" 4
  662. .IX Item "traceback"
  663. .ie n .IP """toc""" 4
  664. .el .IP "\f(CWtoc\fR" 4
  665. .IX Item "toc"
  666. .ie n .IP """ldinfo""" 4
  667. .el .IP "\f(CWldinfo\fR" 4
  668. .IX Item "ldinfo"
  669. .RE
  670. .RS 4
  671. .PD
  672. .Sp
  673. Not all object formats support this option. In particular the \s-1ELF\s0
  674. format does not use it.
  675. .RE
  676. .IP "\fB\-r\fR" 4
  677. .IX Item "-r"
  678. .PD 0
  679. .IP "\fB\-\-reloc\fR" 4
  680. .IX Item "--reloc"
  681. .PD
  682. Print the relocation entries of the file. If used with \fB\-d\fR or
  683. \&\fB\-D\fR, the relocations are printed interspersed with the
  684. disassembly.
  685. .IP "\fB\-R\fR" 4
  686. .IX Item "-R"
  687. .PD 0
  688. .IP "\fB\-\-dynamic\-reloc\fR" 4
  689. .IX Item "--dynamic-reloc"
  690. .PD
  691. Print the dynamic relocation entries of the file. This is only
  692. meaningful for dynamic objects, such as certain types of shared
  693. libraries. As for \fB\-r\fR, if used with \fB\-d\fR or
  694. \&\fB\-D\fR, the relocations are printed interspersed with the
  695. disassembly.
  696. .IP "\fB\-s\fR" 4
  697. .IX Item "-s"
  698. .PD 0
  699. .IP "\fB\-\-full\-contents\fR" 4
  700. .IX Item "--full-contents"
  701. .PD
  702. Display the full contents of any sections requested. By default all
  703. non-empty sections are displayed.
  704. .IP "\fB\-S\fR" 4
  705. .IX Item "-S"
  706. .PD 0
  707. .IP "\fB\-\-source\fR" 4
  708. .IX Item "--source"
  709. .PD
  710. Display source code intermixed with disassembly, if possible. Implies
  711. \&\fB\-d\fR.
  712. .IP "\fB\-\-prefix=\fR\fIprefix\fR" 4
  713. .IX Item "--prefix=prefix"
  714. Specify \fIprefix\fR to add to the absolute paths when used with
  715. \&\fB\-S\fR.
  716. .IP "\fB\-\-prefix\-strip=\fR\fIlevel\fR" 4
  717. .IX Item "--prefix-strip=level"
  718. Indicate how many initial directory names to strip off the hardwired
  719. absolute paths. It has no effect without \fB\-\-prefix=\fR\fIprefix\fR.
  720. .IP "\fB\-\-show\-raw\-insn\fR" 4
  721. .IX Item "--show-raw-insn"
  722. When disassembling instructions, print the instruction in hex as well as
  723. in symbolic form. This is the default except when
  724. \&\fB\-\-prefix\-addresses\fR is used.
  725. .IP "\fB\-\-no\-show\-raw\-insn\fR" 4
  726. .IX Item "--no-show-raw-insn"
  727. When disassembling instructions, do not print the instruction bytes.
  728. This is the default when \fB\-\-prefix\-addresses\fR is used.
  729. .IP "\fB\-\-insn\-width=\fR\fIwidth\fR" 4
  730. .IX Item "--insn-width=width"
  731. Display \fIwidth\fR bytes on a single line when disassembling
  732. instructions.
  733. .IP "\fB\-W[lLiaprmfFsoRt]\fR" 4
  734. .IX Item "-W[lLiaprmfFsoRt]"
  735. .PD 0
  736. .IP "\fB\-\-dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames]\fR" 4
  737. .IX Item "--dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames]"
  738. .IP "\fB\-\-dwarf[=aranges,=macro,=frames,=frames\-interp,=str,=loc]\fR" 4
  739. .IX Item "--dwarf[=aranges,=macro,=frames,=frames-interp,=str,=loc]"
  740. .IP "\fB\-\-dwarf[=Ranges,=pubtypes,=trace_info,=trace_abbrev]\fR" 4
  741. .IX Item "--dwarf[=Ranges,=pubtypes,=trace_info,=trace_abbrev]"
  742. .IP "\fB\-\-dwarf[=trace_aranges,=gdb_index]\fR" 4
  743. .IX Item "--dwarf[=trace_aranges,=gdb_index]"
  744. .PD
  745. Displays the contents of the debug sections in the file, if any are
  746. present. If one of the optional letters or words follows the switch
  747. then only data found in those specific sections will be dumped.
  748. .Sp
  749. Note that there is no single letter option to display the content of
  750. trace sections or .gdb_index.
  751. .Sp
  752. Note: the output from the \fB=info\fR option can also be affected
  753. by the options \fB\-\-dwarf\-depth\fR, the \fB\-\-dwarf\-start\fR and
  754. the \fB\-\-dwarf\-check\fR.
  755. .IP "\fB\-\-dwarf\-depth=\fR\fIn\fR" 4
  756. .IX Item "--dwarf-depth=n"
  757. Limit the dump of the \f(CW\*(C`.debug_info\*(C'\fR section to \fIn\fR children.
  758. This is only useful with \fB\-\-dwarf=info\fR. The default is
  759. to print all DIEs; the special value 0 for \fIn\fR will also have this
  760. effect.
  761. .Sp
  762. With a non-zero value for \fIn\fR, DIEs at or deeper than \fIn\fR
  763. levels will not be printed. The range for \fIn\fR is zero-based.
  764. .IP "\fB\-\-dwarf\-start=\fR\fIn\fR" 4
  765. .IX Item "--dwarf-start=n"
  766. Print only DIEs beginning with the \s-1DIE\s0 numbered \fIn\fR. This is only
  767. useful with \fB\-\-dwarf=info\fR.
  768. .Sp
  769. If specified, this option will suppress printing of any header
  770. information and all DIEs before the \s-1DIE\s0 numbered \fIn\fR. Only
  771. siblings and children of the specified \s-1DIE\s0 will be printed.
  772. .Sp
  773. This can be used in conjunction with \fB\-\-dwarf\-depth\fR.
  774. .IP "\fB\-\-dwarf\-check\fR" 4
  775. .IX Item "--dwarf-check"
  776. Enable additional checks for consistency of Dwarf information.
  777. .IP "\fB\-G\fR" 4
  778. .IX Item "-G"
  779. .PD 0
  780. .IP "\fB\-\-stabs\fR" 4
  781. .IX Item "--stabs"
  782. .PD
  783. Display the full contents of any sections requested. Display the
  784. contents of the .stab and .stab.index and .stab.excl sections from an
  785. \&\s-1ELF\s0 file. This is only useful on systems (such as Solaris 2.0) in which
  786. \&\f(CW\*(C`.stab\*(C'\fR debugging symbol-table entries are carried in an \s-1ELF\s0
  787. section. In most other file formats, debugging symbol-table entries are
  788. interleaved with linkage symbols, and are visible in the \fB\-\-syms\fR
  789. output.
  790. .IP "\fB\-\-start\-address=\fR\fIaddress\fR" 4
  791. .IX Item "--start-address=address"
  792. Start displaying data at the specified address. This affects the output
  793. of the \fB\-d\fR, \fB\-r\fR and \fB\-s\fR options.
  794. .IP "\fB\-\-stop\-address=\fR\fIaddress\fR" 4
  795. .IX Item "--stop-address=address"
  796. Stop displaying data at the specified address. This affects the output
  797. of the \fB\-d\fR, \fB\-r\fR and \fB\-s\fR options.
  798. .IP "\fB\-t\fR" 4
  799. .IX Item "-t"
  800. .PD 0
  801. .IP "\fB\-\-syms\fR" 4
  802. .IX Item "--syms"
  803. .PD
  804. Print the symbol table entries of the file.
  805. This is similar to the information provided by the \fBnm\fR program,
  806. although the display format is different. The format of the output
  807. depends upon the format of the file being dumped, but there are two main
  808. types. One looks like this:
  809. .Sp
  810. .Vb 2
  811. \& [ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .bss
  812. \& [ 6](sec 1)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 fred
  813. .Ve
  814. .Sp
  815. where the number inside the square brackets is the number of the entry
  816. in the symbol table, the \fIsec\fR number is the section number, the
  817. \&\fIfl\fR value are the symbol's flag bits, the \fIty\fR number is the
  818. symbol's type, the \fIscl\fR number is the symbol's storage class and
  819. the \fInx\fR value is the number of auxilary entries associated with
  820. the symbol. The last two fields are the symbol's value and its name.
  821. .Sp
  822. The other common output format, usually seen with \s-1ELF\s0 based files,
  823. looks like this:
  824. .Sp
  825. .Vb 2
  826. \& 00000000 l d .bss 00000000 .bss
  827. \& 00000000 g .text 00000000 fred
  828. .Ve
  829. .Sp
  830. Here the first number is the symbol's value (sometimes refered to as
  831. its address). The next field is actually a set of characters and
  832. spaces indicating the flag bits that are set on the symbol. These
  833. characters are described below. Next is the section with which the
  834. symbol is associated or \fI*ABS*\fR if the section is absolute (ie
  835. not connected with any section), or \fI*UND*\fR if the section is
  836. referenced in the file being dumped, but not defined there.
  837. .Sp
  838. After the section name comes another field, a number, which for common
  839. symbols is the alignment and for other symbol is the size. Finally
  840. the symbol's name is displayed.
  841. .Sp
  842. The flag characters are divided into 7 groups as follows:
  843. .RS 4
  844. .ie n .IP """l""" 4
  845. .el .IP "\f(CWl\fR" 4
  846. .IX Item "l"
  847. .PD 0
  848. .ie n .IP """g""" 4
  849. .el .IP "\f(CWg\fR" 4
  850. .IX Item "g"
  851. .ie n .IP """u""" 4
  852. .el .IP "\f(CWu\fR" 4
  853. .IX Item "u"
  854. .ie n .IP """!""" 4
  855. .el .IP "\f(CW!\fR" 4
  856. .IX Item "!"
  857. .PD
  858. The symbol is a local (l), global (g), unique global (u), neither
  859. global nor local (a space) or both global and local (!). A
  860. symbol can be neither local or global for a variety of reasons, e.g.,
  861. because it is used for debugging, but it is probably an indication of
  862. a bug if it is ever both local and global. Unique global symbols are
  863. a \s-1GNU\s0 extension to the standard set of \s-1ELF\s0 symbol bindings. For such
  864. a symbol the dynamic linker will make sure that in the entire process
  865. there is just one symbol with this name and type in use.
  866. .ie n .IP """w""" 4
  867. .el .IP "\f(CWw\fR" 4
  868. .IX Item "w"
  869. The symbol is weak (w) or strong (a space).
  870. .ie n .IP """C""" 4
  871. .el .IP "\f(CWC\fR" 4
  872. .IX Item "C"
  873. The symbol denotes a constructor (C) or an ordinary symbol (a space).
  874. .ie n .IP """W""" 4
  875. .el .IP "\f(CWW\fR" 4
  876. .IX Item "W"
  877. The symbol is a warning (W) or a normal symbol (a space). A warning
  878. symbol's name is a message to be displayed if the symbol following the
  879. warning symbol is ever referenced.
  880. .ie n .IP """I""" 4
  881. .el .IP "\f(CWI\fR" 4
  882. .IX Item "I"
  883. .PD 0
  884. .ie n .IP """i""" 4
  885. .el .IP "\f(CWi\fR" 4
  886. .IX Item "i"
  887. .PD
  888. The symbol is an indirect reference to another symbol (I), a function
  889. to be evaluated during reloc processing (i) or a normal symbol (a
  890. space).
  891. .ie n .IP """d""" 4
  892. .el .IP "\f(CWd\fR" 4
  893. .IX Item "d"
  894. .PD 0
  895. .ie n .IP """D""" 4
  896. .el .IP "\f(CWD\fR" 4
  897. .IX Item "D"
  898. .PD
  899. The symbol is a debugging symbol (d) or a dynamic symbol (D) or a
  900. normal symbol (a space).
  901. .ie n .IP """F""" 4
  902. .el .IP "\f(CWF\fR" 4
  903. .IX Item "F"
  904. .PD 0
  905. .ie n .IP """f""" 4
  906. .el .IP "\f(CWf\fR" 4
  907. .IX Item "f"
  908. .ie n .IP """O""" 4
  909. .el .IP "\f(CWO\fR" 4
  910. .IX Item "O"
  911. .PD
  912. The symbol is the name of a function (F) or a file (f) or an object
  913. (O) or just a normal symbol (a space).
  914. .RE
  915. .RS 4
  916. .RE
  917. .IP "\fB\-T\fR" 4
  918. .IX Item "-T"
  919. .PD 0
  920. .IP "\fB\-\-dynamic\-syms\fR" 4
  921. .IX Item "--dynamic-syms"
  922. .PD
  923. Print the dynamic symbol table entries of the file. This is only
  924. meaningful for dynamic objects, such as certain types of shared
  925. libraries. This is similar to the information provided by the \fBnm\fR
  926. program when given the \fB\-D\fR (\fB\-\-dynamic\fR) option.
  927. .Sp
  928. The output format is similar to that produced by the \fB\-\-syms\fR
  929. option, except that an extra field is inserted before the symbol's
  930. name, giving the version information associated with the symbol.
  931. If the version is the default version to be used when resolving
  932. unversioned references to the symbol then it's displayed as is,
  933. otherwise it's put into parentheses.
  934. .IP "\fB\-\-special\-syms\fR" 4
  935. .IX Item "--special-syms"
  936. When displaying symbols include those which the target considers to be
  937. special in some way and which would not normally be of interest to the
  938. user.
  939. .IP "\fB\-V\fR" 4
  940. .IX Item "-V"
  941. .PD 0
  942. .IP "\fB\-\-version\fR" 4
  943. .IX Item "--version"
  944. .PD
  945. Print the version number of \fBobjdump\fR and exit.
  946. .IP "\fB\-x\fR" 4
  947. .IX Item "-x"
  948. .PD 0
  949. .IP "\fB\-\-all\-headers\fR" 4
  950. .IX Item "--all-headers"
  951. .PD
  952. Display all available header information, including the symbol table and
  953. relocation entries. Using \fB\-x\fR is equivalent to specifying all of
  954. \&\fB\-a \-f \-h \-p \-r \-t\fR.
  955. .IP "\fB\-w\fR" 4
  956. .IX Item "-w"
  957. .PD 0
  958. .IP "\fB\-\-wide\fR" 4
  959. .IX Item "--wide"
  960. .PD
  961. Format some lines for output devices that have more than 80 columns.
  962. Also do not truncate symbol names when they are displayed.
  963. .IP "\fB\-z\fR" 4
  964. .IX Item "-z"
  965. .PD 0
  966. .IP "\fB\-\-disassemble\-zeroes\fR" 4
  967. .IX Item "--disassemble-zeroes"
  968. .PD
  969. Normally the disassembly output will skip blocks of zeroes. This
  970. option directs the disassembler to disassemble those blocks, just like
  971. any other data.
  972. .IP "\fB@\fR\fIfile\fR" 4
  973. .IX Item "@file"
  974. Read command-line options from \fIfile\fR. The options read are
  975. inserted in place of the original @\fIfile\fR option. If \fIfile\fR
  976. does not exist, or cannot be read, then the option will be treated
  977. literally, and not removed.
  978. .Sp
  979. Options in \fIfile\fR are separated by whitespace. A whitespace
  980. character may be included in an option by surrounding the entire
  981. option in either single or double quotes. Any character (including a
  982. backslash) may be included by prefixing the character to be included
  983. with a backslash. The \fIfile\fR may itself contain additional
  984. @\fIfile\fR options; any such options will be processed recursively.
  985. .SH "SEE ALSO"
  986. .IX Header "SEE ALSO"
  987. \&\fInm\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR.
  988. .SH "COPYRIGHT"
  989. .IX Header "COPYRIGHT"
  990. Copyright (c) 1991\-2017 Free Software Foundation, Inc.
  991. .PP
  992. Permission is granted to copy, distribute and/or modify this document
  993. under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.3
  994. or any later version published by the Free Software Foundation;
  995. with no Invariant Sections, with no Front-Cover Texts, and with no
  996. Back-Cover Texts. A copy of the license is included in the
  997. section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".