Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

111 lines
4.9KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the BFD library.
  4. Copyright (C) 1991-2020 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3 or
  7. any later version published by the Free Software Foundation; with the
  8. Invariant Sections being "GNU General Public License" and "Funding
  9. Free Software", the Front-Cover texts being (a) (see below), and with
  10. the Back-Cover Texts being (b) (see below). A copy of the license is
  11. included in the section entitled "GNU Free Documentation License".
  12. (a) The FSF's Front-Cover Text is:
  13. A GNU Manual
  14. (b) The FSF's Back-Cover Text is:
  15. You have freedom to copy and modify this GNU Manual, like GNU
  16. software. Copies published by the Free Software Foundation raise
  17. funds for GNU development. -->
  18. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  19. <head>
  20. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  21. <title>What BFD Version 2 Can Do (Untitled Document)</title>
  22. <meta name="description" content="What BFD Version 2 Can Do (Untitled Document)">
  23. <meta name="keywords" content="What BFD Version 2 Can Do (Untitled Document)">
  24. <meta name="resource-type" content="document">
  25. <meta name="distribution" content="global">
  26. <meta name="Generator" content="makeinfo">
  27. <link href="index.html#Top" rel="start" title="Top">
  28. <link href="BFD-Index.html#BFD-Index" rel="index" title="BFD Index">
  29. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  30. <link href="Overview.html#Overview" rel="up" title="Overview">
  31. <link href="BFD-information-loss.html#BFD-information-loss" rel="next" title="BFD information loss">
  32. <link href="How-It-Works.html#How-It-Works" rel="prev" title="How It Works">
  33. <style type="text/css">
  34. <!--
  35. a.summary-letter {text-decoration: none}
  36. blockquote.indentedblock {margin-right: 0em}
  37. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  38. blockquote.smallquotation {font-size: smaller}
  39. div.display {margin-left: 3.2em}
  40. div.example {margin-left: 3.2em}
  41. div.lisp {margin-left: 3.2em}
  42. div.smalldisplay {margin-left: 3.2em}
  43. div.smallexample {margin-left: 3.2em}
  44. div.smalllisp {margin-left: 3.2em}
  45. kbd {font-style: oblique}
  46. pre.display {font-family: inherit}
  47. pre.format {font-family: inherit}
  48. pre.menu-comment {font-family: serif}
  49. pre.menu-preformatted {font-family: serif}
  50. pre.smalldisplay {font-family: inherit; font-size: smaller}
  51. pre.smallexample {font-size: smaller}
  52. pre.smallformat {font-family: inherit; font-size: smaller}
  53. pre.smalllisp {font-size: smaller}
  54. span.nolinebreak {white-space: nowrap}
  55. span.roman {font-family: initial; font-weight: normal}
  56. span.sansserif {font-family: sans-serif; font-weight: normal}
  57. ul.no-bullet {list-style: none}
  58. -->
  59. </style>
  60. </head>
  61. <body lang="en">
  62. <a name="What-BFD-Version-2-Can-Do"></a>
  63. <div class="header">
  64. <p>
  65. Previous: <a href="How-It-Works.html#How-It-Works" accesskey="p" rel="prev">How It Works</a>, Up: <a href="Overview.html#Overview" accesskey="u" rel="up">Overview</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="BFD-Index.html#BFD-Index" title="Index" rel="index">Index</a>]</p>
  66. </div>
  67. <hr>
  68. <a name="What-BFD-Version-2-Can-Do-1"></a>
  69. <h3 class="section">1.3 What BFD Version 2 Can Do</h3>
  70. <p>When an object file is opened, BFD subroutines automatically determine
  71. the format of the input object file. They then build a descriptor in
  72. memory with pointers to routines that will be used to access elements of
  73. the object file&rsquo;s data structures.
  74. </p>
  75. <p>As different information from the object files is required,
  76. BFD reads from different sections of the file and processes them.
  77. For example, a very common operation for the linker is processing symbol
  78. tables. Each BFD back end provides a routine for converting
  79. between the object file&rsquo;s representation of symbols and an internal
  80. canonical format. When the linker asks for the symbol table of an object
  81. file, it calls through a memory pointer to the routine from the
  82. relevant BFD back end which reads and converts the table into a canonical
  83. form. The linker then operates upon the canonical form. When the link is
  84. finished and the linker writes the output file&rsquo;s symbol table,
  85. another BFD back end routine is called to take the newly
  86. created symbol table and convert it into the chosen output format.
  87. </p>
  88. <table class="menu" border="0" cellspacing="0">
  89. <tr><td align="left" valign="top">&bull; <a href="BFD-information-loss.html#BFD-information-loss" accesskey="1">BFD information loss</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Information Loss
  90. </td></tr>
  91. <tr><td align="left" valign="top">&bull; <a href="Canonical-format.html#Canonical-format" accesskey="2">Canonical format</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">The BFD canonical object-file format
  92. </td></tr>
  93. </table>
  94. </body>
  95. </html>