Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Alpha-Options.html 7.2KB

3 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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 GNU Assembler "as".
  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
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  15. <title>Alpha Options (Using as)</title>
  16. <meta name="description" content="Alpha Options (Using as)">
  17. <meta name="keywords" content="Alpha Options (Using as)">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="AS-Index.html#AS-Index" rel="index" title="AS Index">
  23. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  24. <link href="Alpha_002dDependent.html#Alpha_002dDependent" rel="up" title="Alpha-Dependent">
  25. <link href="Alpha-Syntax.html#Alpha-Syntax" rel="next" title="Alpha Syntax">
  26. <link href="Alpha-Notes.html#Alpha-Notes" rel="prev" title="Alpha Notes">
  27. <style type="text/css">
  28. <!--
  29. a.summary-letter {text-decoration: none}
  30. blockquote.indentedblock {margin-right: 0em}
  31. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  32. blockquote.smallquotation {font-size: smaller}
  33. div.display {margin-left: 3.2em}
  34. div.example {margin-left: 3.2em}
  35. div.lisp {margin-left: 3.2em}
  36. div.smalldisplay {margin-left: 3.2em}
  37. div.smallexample {margin-left: 3.2em}
  38. div.smalllisp {margin-left: 3.2em}
  39. kbd {font-style: oblique}
  40. pre.display {font-family: inherit}
  41. pre.format {font-family: inherit}
  42. pre.menu-comment {font-family: serif}
  43. pre.menu-preformatted {font-family: serif}
  44. pre.smalldisplay {font-family: inherit; font-size: smaller}
  45. pre.smallexample {font-size: smaller}
  46. pre.smallformat {font-family: inherit; font-size: smaller}
  47. pre.smalllisp {font-size: smaller}
  48. span.nolinebreak {white-space: nowrap}
  49. span.roman {font-family: initial; font-weight: normal}
  50. span.sansserif {font-family: sans-serif; font-weight: normal}
  51. ul.no-bullet {list-style: none}
  52. -->
  53. </style>
  54. </head>
  55. <body lang="en">
  56. <a name="Alpha-Options"></a>
  57. <div class="header">
  58. <p>
  59. Next: <a href="Alpha-Syntax.html#Alpha-Syntax" accesskey="n" rel="next">Alpha Syntax</a>, Previous: <a href="Alpha-Notes.html#Alpha-Notes" accesskey="p" rel="prev">Alpha Notes</a>, Up: <a href="Alpha_002dDependent.html#Alpha_002dDependent" accesskey="u" rel="up">Alpha-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  60. </div>
  61. <hr>
  62. <a name="Options-1"></a>
  63. <h4 class="subsection">9.2.2 Options</h4>
  64. <a name="index-Alpha-options"></a>
  65. <a name="index-options-for-Alpha"></a>
  66. <dl compact="compact">
  67. <dd><a name="index-_002dmcpu-command_002dline-option_002c-Alpha"></a>
  68. </dd>
  69. <dt><code>-m<var>cpu</var></code></dt>
  70. <dd><p>This option specifies the target processor. If an attempt is made to
  71. assemble an instruction which will not execute on the target processor,
  72. the assembler may either expand the instruction as a macro or issue an
  73. error message. This option is equivalent to the <code>.arch</code> directive.
  74. </p>
  75. <p>The following processor names are recognized:
  76. <code>21064</code>,
  77. <code>21064a</code>,
  78. <code>21066</code>,
  79. <code>21068</code>,
  80. <code>21164</code>,
  81. <code>21164a</code>,
  82. <code>21164pc</code>,
  83. <code>21264</code>,
  84. <code>21264a</code>,
  85. <code>21264b</code>,
  86. <code>ev4</code>,
  87. <code>ev5</code>,
  88. <code>lca45</code>,
  89. <code>ev5</code>,
  90. <code>ev56</code>,
  91. <code>pca56</code>,
  92. <code>ev6</code>,
  93. <code>ev67</code>,
  94. <code>ev68</code>.
  95. The special name <code>all</code> may be used to allow the assembler to accept
  96. instructions valid for any Alpha processor.
  97. </p>
  98. <p>In order to support existing practice in OSF/1 with respect to <code>.arch</code>,
  99. and existing practice within <code>MILO</code> (the Linux ARC bootloader), the
  100. numbered processor names (e.g. 21064) enable the processor-specific PALcode
  101. instructions, while the &ldquo;electro-vlasic&rdquo; names (e.g. <code>ev4</code>) do not.
  102. </p>
  103. <a name="index-_002dmdebug-command_002dline-option_002c-Alpha"></a>
  104. <a name="index-_002dno_002dmdebug-command_002dline-option_002c-Alpha"></a>
  105. </dd>
  106. <dt><code>-mdebug</code></dt>
  107. <dt><code>-no-mdebug</code></dt>
  108. <dd><p>Enables or disables the generation of <code>.mdebug</code> encapsulation for
  109. stabs directives and procedure descriptors. The default is to automatically
  110. enable <code>.mdebug</code> when the first stabs directive is seen.
  111. </p>
  112. <a name="index-_002drelax-command_002dline-option_002c-Alpha"></a>
  113. </dd>
  114. <dt><code>-relax</code></dt>
  115. <dd><p>This option forces all relocations to be put into the object file, instead
  116. of saving space and resolving some relocations at assembly time. Note that
  117. this option does not propagate all symbol arithmetic into the object file,
  118. because not all symbol arithmetic can be represented. However, the option
  119. can still be useful in specific applications.
  120. </p>
  121. <a name="index-_002dreplace-command_002dline-option_002c-Alpha"></a>
  122. <a name="index-_002dnoreplace-command_002dline-option_002c-Alpha"></a>
  123. </dd>
  124. <dt><code>-replace</code></dt>
  125. <dt><code>-noreplace</code></dt>
  126. <dd><p>Enables or disables the optimization of procedure calls, both at assemblage
  127. and at link time. These options are only available for VMS targets and
  128. <code>-replace</code> is the default. See section 1.4.1 of the OpenVMS Linker
  129. Utility Manual.
  130. </p>
  131. <a name="index-_002dg-command_002dline-option_002c-Alpha"></a>
  132. </dd>
  133. <dt><code>-g</code></dt>
  134. <dd><p>This option is used when the compiler generates debug information. When
  135. <code>gcc</code> is using <code>mips-tfile</code> to generate debug
  136. information for ECOFF, local labels must be passed through to the object
  137. file. Otherwise this option has no effect.
  138. </p>
  139. <a name="index-_002dG-command_002dline-option_002c-Alpha"></a>
  140. </dd>
  141. <dt><code>-G<var>size</var></code></dt>
  142. <dd><p>A local common symbol larger than <var>size</var> is placed in <code>.bss</code>,
  143. while smaller symbols are placed in <code>.sbss</code>.
  144. </p>
  145. <a name="index-_002dF-command_002dline-option_002c-Alpha"></a>
  146. <a name="index-_002d32addr-command_002dline-option_002c-Alpha"></a>
  147. </dd>
  148. <dt><code>-F</code></dt>
  149. <dt><code>-32addr</code></dt>
  150. <dd><p>These options are ignored for backward compatibility.
  151. </p></dd>
  152. </dl>
  153. <a name="index-Alpha-Syntax"></a>
  154. <hr>
  155. <div class="header">
  156. <p>
  157. Next: <a href="Alpha-Syntax.html#Alpha-Syntax" accesskey="n" rel="next">Alpha Syntax</a>, Previous: <a href="Alpha-Notes.html#Alpha-Notes" accesskey="p" rel="prev">Alpha Notes</a>, Up: <a href="Alpha_002dDependent.html#Alpha_002dDependent" accesskey="u" rel="up">Alpha-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  158. </div>
  159. </body>
  160. </html>