nm.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1991-2021 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3
  6. or any later version published by the Free Software Foundation;
  7. with no Invariant Sections, with no Front-Cover Texts, and with no
  8. Back-Cover Texts. A copy of the license is included in the
  9. section entitled "GNU Free Documentation License".
  10. -->
  11. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  12. <head>
  13. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  14. <title>nm (GNU Binary Utilities)</title>
  15. <meta name="description" content="nm (GNU Binary Utilities)">
  16. <meta name="keywords" content="nm (GNU Binary Utilities)">
  17. <meta name="resource-type" content="document">
  18. <meta name="distribution" content="global">
  19. <meta name="Generator" content="makeinfo">
  20. <link href="index.html#Top" rel="start" title="Top">
  21. <link href="Binutils-Index.html#Binutils-Index" rel="index" title="Binutils Index">
  22. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  23. <link href="index.html#Top" rel="up" title="Top">
  24. <link href="objcopy.html#objcopy" rel="next" title="objcopy">
  25. <link href="ar-scripts.html#ar-scripts" rel="prev" title="ar scripts">
  26. <style type="text/css">
  27. <!--
  28. a.summary-letter {text-decoration: none}
  29. blockquote.indentedblock {margin-right: 0em}
  30. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  31. blockquote.smallquotation {font-size: smaller}
  32. div.display {margin-left: 3.2em}
  33. div.example {margin-left: 3.2em}
  34. div.lisp {margin-left: 3.2em}
  35. div.smalldisplay {margin-left: 3.2em}
  36. div.smallexample {margin-left: 3.2em}
  37. div.smalllisp {margin-left: 3.2em}
  38. kbd {font-style: oblique}
  39. pre.display {font-family: inherit}
  40. pre.format {font-family: inherit}
  41. pre.menu-comment {font-family: serif}
  42. pre.menu-preformatted {font-family: serif}
  43. pre.smalldisplay {font-family: inherit; font-size: smaller}
  44. pre.smallexample {font-size: smaller}
  45. pre.smallformat {font-family: inherit; font-size: smaller}
  46. pre.smalllisp {font-size: smaller}
  47. span.nolinebreak {white-space: nowrap}
  48. span.roman {font-family: initial; font-weight: normal}
  49. span.sansserif {font-family: sans-serif; font-weight: normal}
  50. ul.no-bullet {list-style: none}
  51. -->
  52. </style>
  53. </head>
  54. <body lang="en">
  55. <a name="nm"></a>
  56. <div class="header">
  57. <p>
  58. Next: <a href="objcopy.html#objcopy" accesskey="n" rel="next">objcopy</a>, Previous: <a href="ar.html#ar" accesskey="p" rel="prev">ar</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Binutils-Index.html#Binutils-Index" title="Index" rel="index">Index</a>]</p>
  59. </div>
  60. <hr>
  61. <a name="nm-1"></a>
  62. <h2 class="chapter">2 nm</h2>
  63. <a name="index-symbols"></a>
  64. <a name="index-nm"></a>
  65. <div class="smallexample">
  66. <pre class="smallexample">nm [<samp>-A</samp>|<samp>-o</samp>|<samp>--print-file-name</samp>] [<samp>-a</samp>|<samp>--debug-syms</samp>]
  67. [<samp>-B</samp>|<samp>--format=bsd</samp>] [<samp>-C</samp>|<samp>--demangle</samp>[=<var>style</var>]]
  68. [<samp>-D</samp>|<samp>--dynamic</samp>] [<samp>-f</samp><var>format</var>|<samp>--format=</samp><var>format</var>]
  69. [<samp>-g</samp>|<samp>--extern-only</samp>] [<samp>-h</samp>|<samp>--help</samp>]
  70. [<samp>--ifunc-chars=<var>CHARS</var></samp>]
  71. [<samp>-l</samp>|<samp>--line-numbers</samp>] [<samp>--inlines</samp>]
  72. [<samp>-n</samp>|<samp>-v</samp>|<samp>--numeric-sort</samp>]
  73. [<samp>-P</samp>|<samp>--portability</samp>] [<samp>-p</samp>|<samp>--no-sort</samp>]
  74. [<samp>-r</samp>|<samp>--reverse-sort</samp>] [<samp>-S</samp>|<samp>--print-size</samp>]
  75. [<samp>-s</samp>|<samp>--print-armap</samp>] [<samp>-t</samp> <var>radix</var>|<samp>--radix=</samp><var>radix</var>]
  76. [<samp>-u</samp>|<samp>--undefined-only</samp>] [<samp>-V</samp>|<samp>--version</samp>]
  77. [<samp>-X 32_64</samp>] [<samp>--defined-only</samp>] [<samp>--no-demangle</samp>]
  78. [<samp>--plugin</samp> <var>name</var>]
  79. [<samp>--no-recurse-limit</samp>|<samp>--recurse-limit</samp>]]
  80. [<samp>--size-sort</samp>] [<samp>--special-syms</samp>]
  81. [<samp>--synthetic</samp>] [<samp>--target=</samp><var>bfdname</var>]
  82. [<var>objfile</var>&hellip;]
  83. </pre></div>
  84. <p><small>GNU</small> <code>nm</code> lists the symbols from object files <var>objfile</var>&hellip;.
  85. If no object files are listed as arguments, <code>nm</code> assumes the file
  86. <samp>a.out</samp>.
  87. </p>
  88. <p>For each symbol, <code>nm</code> shows:
  89. </p>
  90. <ul>
  91. <li> The symbol value, in the radix selected by options (see below), or
  92. hexadecimal by default.
  93. </li><li> The symbol type. At least the following types are used; others are, as
  94. well, depending on the object file format. If lowercase, the symbol is
  95. usually local; if uppercase, the symbol is global (external). There
  96. are however a few lowercase symbols that are shown for special global
  97. symbols (<code>u</code>, <code>v</code> and <code>w</code>).
  98. <dl compact="compact">
  99. <dt><code>A</code></dt>
  100. <dd><p>The symbol&rsquo;s value is absolute, and will not be changed by further
  101. linking.
  102. </p>
  103. </dd>
  104. <dt><code>B</code></dt>
  105. <dt><code>b</code></dt>
  106. <dd><p>The symbol is in the BSS data section. This section typically
  107. contains zero-initialized or uninitialized data, although the exact
  108. behavior is system dependent.
  109. </p>
  110. </dd>
  111. <dt><code>C</code></dt>
  112. <dt><code>c</code></dt>
  113. <dd><p>The symbol is common. Common symbols are uninitialized data. When
  114. linking, multiple common symbols may appear with the same name. If the
  115. symbol is defined anywhere, the common symbols are treated as undefined
  116. references.
  117. For more details on common symbols, see the discussion of
  118. &ndash;warn-common in <a href="http://sourceware.org/binutils/docs/ld/Options.html#Options">Linker options</a> in <cite>The GNU linker</cite>.
  119. The lower case <var>c</var> character is used when the symbol is in a
  120. special section for small commons.
  121. </p>
  122. </dd>
  123. <dt><code>D</code></dt>
  124. <dt><code>d</code></dt>
  125. <dd><p>The symbol is in the initialized data section.
  126. </p>
  127. </dd>
  128. <dt><code>G</code></dt>
  129. <dt><code>g</code></dt>
  130. <dd><p>The symbol is in an initialized data section for small objects. Some
  131. object file formats permit more efficient access to small data objects,
  132. such as a global int variable as opposed to a large global array.
  133. </p>
  134. </dd>
  135. <dt><code>i</code></dt>
  136. <dd><p>For PE format files this indicates that the symbol is in a section
  137. specific to the implementation of DLLs.
  138. </p>
  139. <p>For ELF format files this indicates that the symbol is an indirect
  140. function. This is a GNU extension to the standard set of ELF symbol
  141. types. It indicates a symbol which if referenced by a relocation does
  142. not evaluate to its address, but instead must be invoked at runtime.
  143. The runtime execution will then return the value to be used in the
  144. relocation.
  145. </p>
  146. <p>Note - the actual symbols display for GNU indirect symbols is
  147. controlled by the <samp>--ifunc-chars</samp> command line option. If this
  148. option has been provided then the first character in the string will
  149. be used for global indirect function symbols. If the string contains
  150. a second character then that will be used for local indirect function
  151. symbols.
  152. </p>
  153. </dd>
  154. <dt><code>I</code></dt>
  155. <dd><p>The symbol is an indirect reference to another symbol.
  156. </p>
  157. </dd>
  158. <dt><code>N</code></dt>
  159. <dd><p>The symbol is a debugging symbol.
  160. </p>
  161. </dd>
  162. <dt><code>n</code></dt>
  163. <dd><p>The symbol is in the read-only data section.
  164. </p>
  165. </dd>
  166. <dt><code>p</code></dt>
  167. <dd><p>The symbol is in a stack unwind section.
  168. </p>
  169. </dd>
  170. <dt><code>R</code></dt>
  171. <dt><code>r</code></dt>
  172. <dd><p>The symbol is in a read only data section.
  173. </p>
  174. </dd>
  175. <dt><code>S</code></dt>
  176. <dt><code>s</code></dt>
  177. <dd><p>The symbol is in an uninitialized or zero-initialized data section
  178. for small objects.
  179. </p>
  180. </dd>
  181. <dt><code>T</code></dt>
  182. <dt><code>t</code></dt>
  183. <dd><p>The symbol is in the text (code) section.
  184. </p>
  185. </dd>
  186. <dt><code>U</code></dt>
  187. <dd><p>The symbol is undefined.
  188. </p>
  189. </dd>
  190. <dt><code>u</code></dt>
  191. <dd><p>The symbol is a unique global symbol. This is a GNU extension to the
  192. standard set of ELF symbol bindings. For such a symbol the dynamic linker
  193. will make sure that in the entire process there is just one symbol with
  194. this name and type in use.
  195. </p>
  196. </dd>
  197. <dt><code>V</code></dt>
  198. <dt><code>v</code></dt>
  199. <dd><p>The symbol is a weak object. When a weak defined symbol is linked with
  200. a normal defined symbol, the normal defined symbol is used with no error.
  201. When a weak undefined symbol is linked and the symbol is not defined,
  202. the value of the weak symbol becomes zero with no error. On some
  203. systems, uppercase indicates that a default value has been specified.
  204. </p>
  205. </dd>
  206. <dt><code>W</code></dt>
  207. <dt><code>w</code></dt>
  208. <dd><p>The symbol is a weak symbol that has not been specifically tagged as a
  209. weak object symbol. When a weak defined symbol is linked with a normal
  210. defined symbol, the normal defined symbol is used with no error.
  211. When a weak undefined symbol is linked and the symbol is not defined,
  212. the value of the symbol is determined in a system-specific manner without
  213. error. On some systems, uppercase indicates that a default value has been
  214. specified.
  215. </p>
  216. </dd>
  217. <dt><code>-</code></dt>
  218. <dd><p>The symbol is a stabs symbol in an a.out object file. In this case, the
  219. next values printed are the stabs other field, the stabs desc field, and
  220. the stab type. Stabs symbols are used to hold debugging information.
  221. </p>
  222. </dd>
  223. <dt><code>?</code></dt>
  224. <dd><p>The symbol type is unknown, or object file format specific.
  225. </p></dd>
  226. </dl>
  227. </li><li> The symbol name. If a symbol has version information associated with it,
  228. then the version information is displayed as well. If the versioned
  229. symbol is undefined or hidden from linker, the version string is displayed
  230. as a suffix to the symbol name, preceded by an @ character. For example
  231. &lsquo;<samp>foo@VER_1</samp>&rsquo;. If the version is the default version to be used when
  232. resolving unversioned references to the symbol, then it is displayed as a
  233. suffix preceded by two @ characters. For example &lsquo;<samp>foo@@VER_2</samp>&rsquo;.
  234. </li></ul>
  235. <p>The long and short forms of options, shown here as alternatives, are
  236. equivalent.
  237. </p>
  238. <dl compact="compact">
  239. <dt><code>-A</code></dt>
  240. <dt><code>-o</code></dt>
  241. <dt><code>--print-file-name</code></dt>
  242. <dd><a name="index-input-file-name"></a>
  243. <a name="index-file-name"></a>
  244. <a name="index-source-file-name"></a>
  245. <p>Precede each symbol by the name of the input file (or archive member)
  246. in which it was found, rather than identifying the input file once only,
  247. before all of its symbols.
  248. </p>
  249. </dd>
  250. <dt><code>-a</code></dt>
  251. <dt><code>--debug-syms</code></dt>
  252. <dd><a name="index-debugging-symbols"></a>
  253. <p>Display all symbols, even debugger-only symbols; normally these are not
  254. listed.
  255. </p>
  256. </dd>
  257. <dt><code>-B</code></dt>
  258. <dd><a name="index-nm-format"></a>
  259. <a name="index-nm-compatibility"></a>
  260. <p>The same as <samp>--format=bsd</samp> (for compatibility with the MIPS <code>nm</code>).
  261. </p>
  262. </dd>
  263. <dt><code>-C</code></dt>
  264. <dt><code>--demangle[=<var>style</var>]</code></dt>
  265. <dd><a name="index-demangling-in-nm"></a>
  266. <p>Decode (<em>demangle</em>) low-level symbol names into user-level names.
  267. Besides removing any initial underscore prepended by the system, this
  268. makes C++ function names readable. Different compilers have different
  269. mangling styles. The optional demangling style argument can be used to
  270. choose an appropriate demangling style for your compiler. See <a href="c_002b_002bfilt.html#c_002b_002bfilt">c++filt</a>,
  271. for more information on demangling.
  272. </p>
  273. </dd>
  274. <dt><code>--no-demangle</code></dt>
  275. <dd><p>Do not demangle low-level symbol names. This is the default.
  276. </p>
  277. </dd>
  278. <dt><code>--recurse-limit</code></dt>
  279. <dt><code>--no-recurse-limit</code></dt>
  280. <dt><code>--recursion-limit</code></dt>
  281. <dt><code>--no-recursion-limit</code></dt>
  282. <dd><p>Enables or disables a limit on the amount of recursion performed
  283. whilst demangling strings. Since the name mangling formats allow for
  284. an infinite level of recursion it is possible to create strings whose
  285. decoding will exhaust the amount of stack space available on the host
  286. machine, triggering a memory fault. The limit tries to prevent this
  287. from happening by restricting recursion to 2048 levels of nesting.
  288. </p>
  289. <p>The default is for this limit to be enabled, but disabling it may be
  290. necessary in order to demangle truly complicated names. Note however
  291. that if the recursion limit is disabled then stack exhaustion is
  292. possible and any bug reports about such an event will be rejected.
  293. </p>
  294. </dd>
  295. <dt><code>-D</code></dt>
  296. <dt><code>--dynamic</code></dt>
  297. <dd><a name="index-dynamic-symbols"></a>
  298. <p>Display the dynamic symbols rather than the normal symbols. This is
  299. only meaningful for dynamic objects, such as certain types of shared
  300. libraries.
  301. </p>
  302. </dd>
  303. <dt><code>-f <var>format</var></code></dt>
  304. <dt><code>--format=<var>format</var></code></dt>
  305. <dd><a name="index-nm-format-1"></a>
  306. <a name="index-nm-compatibility-1"></a>
  307. <p>Use the output format <var>format</var>, which can be <code>bsd</code>,
  308. <code>sysv</code>, or <code>posix</code>. The default is <code>bsd</code>.
  309. Only the first character of <var>format</var> is significant; it can be
  310. either upper or lower case.
  311. </p>
  312. </dd>
  313. <dt><code>-g</code></dt>
  314. <dt><code>--extern-only</code></dt>
  315. <dd><a name="index-external-symbols"></a>
  316. <p>Display only external symbols.
  317. </p>
  318. </dd>
  319. <dt><code>-h</code></dt>
  320. <dt><code>--help</code></dt>
  321. <dd><p>Show a summary of the options to <code>nm</code> and exit.
  322. </p>
  323. </dd>
  324. <dt><code>--ifunc-chars=<var>CHARS</var></code></dt>
  325. <dd><p>When display GNU indirect function symbols <code>nm</code> will default
  326. to using the <code>i</code> character for both local indirect functions and
  327. global indirect functions. The <samp>--ifunc-chars</samp> option allows
  328. the user to specify a string containing one or two characters. The
  329. first character will be used for global indirect function symbols and
  330. the second character, if present, will be used for local indirect
  331. function symbols.
  332. </p>
  333. </dd>
  334. <dt><code>-l</code></dt>
  335. <dt><code>--line-numbers</code></dt>
  336. <dd><a name="index-symbol-line-numbers"></a>
  337. <p>For each symbol, use debugging information to try to find a filename and
  338. line number. For a defined symbol, look for the line number of the
  339. address of the symbol. For an undefined symbol, look for the line
  340. number of a relocation entry which refers to the symbol. If line number
  341. information can be found, print it after the other symbol information.
  342. </p>
  343. </dd>
  344. <dt><code>--inlines</code></dt>
  345. <dd><a name="index-objdump-inlines"></a>
  346. <p>When option <samp>-l</samp> is active, if the address belongs to a
  347. function that was inlined, then this option causes the source
  348. information for all enclosing scopes back to the first non-inlined
  349. function to be printed as well. For example, if <code>main</code> inlines
  350. <code>callee1</code> which inlines <code>callee2</code>, and address is from
  351. <code>callee2</code>, the source information for <code>callee1</code> and <code>main</code>
  352. will also be printed.
  353. </p>
  354. </dd>
  355. <dt><code>-n</code></dt>
  356. <dt><code>-v</code></dt>
  357. <dt><code>--numeric-sort</code></dt>
  358. <dd><p>Sort symbols numerically by their addresses, rather than alphabetically
  359. by their names.
  360. </p>
  361. </dd>
  362. <dt><code>-p</code></dt>
  363. <dt><code>--no-sort</code></dt>
  364. <dd><a name="index-sorting-symbols"></a>
  365. <p>Do not bother to sort the symbols in any order; print them in the order
  366. encountered.
  367. </p>
  368. </dd>
  369. <dt><code>-P</code></dt>
  370. <dt><code>--portability</code></dt>
  371. <dd><p>Use the POSIX.2 standard output format instead of the default format.
  372. Equivalent to &lsquo;<samp>-f posix</samp>&rsquo;.
  373. </p>
  374. </dd>
  375. <dt><code>-r</code></dt>
  376. <dt><code>--reverse-sort</code></dt>
  377. <dd><p>Reverse the order of the sort (whether numeric or alphabetic); let the
  378. last come first.
  379. </p>
  380. </dd>
  381. <dt><code>-S</code></dt>
  382. <dt><code>--print-size</code></dt>
  383. <dd><p>Print both value and size of defined symbols for the <code>bsd</code> output style.
  384. This option has no effect for object formats that do not record symbol
  385. sizes, unless &lsquo;<samp>--size-sort</samp>&rsquo; is also used in which case a
  386. calculated size is displayed.
  387. </p>
  388. </dd>
  389. <dt><code>-s</code></dt>
  390. <dt><code>--print-armap</code></dt>
  391. <dd><a name="index-symbol-index_002c-listing"></a>
  392. <p>When listing symbols from archive members, include the index: a mapping
  393. (stored in the archive by <code>ar</code> or <code>ranlib</code>) of which modules
  394. contain definitions for which names.
  395. </p>
  396. </dd>
  397. <dt><code>-t <var>radix</var></code></dt>
  398. <dt><code>--radix=<var>radix</var></code></dt>
  399. <dd><p>Use <var>radix</var> as the radix for printing the symbol values. It must be
  400. &lsquo;<samp>d</samp>&rsquo; for decimal, &lsquo;<samp>o</samp>&rsquo; for octal, or &lsquo;<samp>x</samp>&rsquo; for hexadecimal.
  401. </p>
  402. </dd>
  403. <dt><code>-u</code></dt>
  404. <dt><code>--undefined-only</code></dt>
  405. <dd><a name="index-external-symbols-1"></a>
  406. <a name="index-undefined-symbols"></a>
  407. <p>Display only undefined symbols (those external to each object file).
  408. </p>
  409. </dd>
  410. <dt><code>-V</code></dt>
  411. <dt><code>--version</code></dt>
  412. <dd><p>Show the version number of <code>nm</code> and exit.
  413. </p>
  414. </dd>
  415. <dt><code>-X</code></dt>
  416. <dd><p>This option is ignored for compatibility with the AIX version of
  417. <code>nm</code>. It takes one parameter which must be the string
  418. <samp>32_64</samp>. The default mode of AIX <code>nm</code> corresponds
  419. to <samp>-X 32</samp>, which is not supported by <small>GNU</small> <code>nm</code>.
  420. </p>
  421. </dd>
  422. <dt><code>--defined-only</code></dt>
  423. <dd><a name="index-external-symbols-2"></a>
  424. <a name="index-undefined-symbols-1"></a>
  425. <p>Display only defined symbols for each object file.
  426. </p>
  427. </dd>
  428. <dt><code>--plugin <var>name</var></code></dt>
  429. <dd><a name="index-plugins-1"></a>
  430. <p>Load the plugin called <var>name</var> to add support for extra target
  431. types. This option is only available if the toolchain has been built
  432. with plugin support enabled.
  433. </p>
  434. <p>If <samp>--plugin</samp> is not provided, but plugin support has been
  435. enabled then <code>nm</code> iterates over the files in
  436. <samp>${libdir}/bfd-plugins</samp> in alphabetic order and the first
  437. plugin that claims the object in question is used.
  438. </p>
  439. <p>Please note that this plugin search directory is <em>not</em> the one
  440. used by <code>ld</code>&rsquo;s <samp>-plugin</samp> option. In order to make
  441. <code>nm</code> use the linker plugin it must be copied into the
  442. <samp>${libdir}/bfd-plugins</samp> directory. For GCC based compilations
  443. the linker plugin is called <samp>liblto_plugin.so.0.0.0</samp>. For Clang
  444. based compilations it is called <samp>LLVMgold.so</samp>. The GCC plugin
  445. is always backwards compatible with earlier versions, so it is
  446. sufficient to just copy the newest one.
  447. </p>
  448. </dd>
  449. <dt><code>--size-sort</code></dt>
  450. <dd><p>Sort symbols by size. For ELF objects symbol sizes are read from the
  451. ELF, for other object types the symbol sizes are computed as the
  452. difference between the value of the symbol and the value of the symbol
  453. with the next higher value. If the <code>bsd</code> output format is used
  454. the size of the symbol is printed, rather than the value, and
  455. &lsquo;<samp>-S</samp>&rsquo; must be used in order both size and value to be printed.
  456. </p>
  457. </dd>
  458. <dt><code>--special-syms</code></dt>
  459. <dd><p>Display symbols which have a target-specific special meaning. These
  460. symbols are usually used by the target for some special processing and
  461. are not normally helpful when included in the normal symbol lists.
  462. For example for ARM targets this option would skip the mapping symbols
  463. used to mark transitions between ARM code, THUMB code and data.
  464. </p>
  465. </dd>
  466. <dt><code>--synthetic</code></dt>
  467. <dd><p>Include synthetic symbols in the output. These are special symbols
  468. created by the linker for various purposes. They are not shown by
  469. default since they are not part of the binary&rsquo;s original source code.
  470. </p>
  471. </dd>
  472. <dt><code>--target=<var>bfdname</var></code></dt>
  473. <dd><a name="index-object-code-format"></a>
  474. <p>Specify an object code format other than your system&rsquo;s default format.
  475. See <a href="Target-Selection.html#Target-Selection">Target Selection</a>, for more information.
  476. </p>
  477. </dd>
  478. </dl>
  479. <hr>
  480. <div class="header">
  481. <p>
  482. Next: <a href="objcopy.html#objcopy" accesskey="n" rel="next">objcopy</a>, Previous: <a href="ar.html#ar" accesskey="p" rel="prev">ar</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Binutils-Index.html#Binutils-Index" title="Index" rel="index">Index</a>]</p>
  483. </div>
  484. </body>
  485. </html>