您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

217 行
9.2KB

  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>V850 Options (Using as)</title>
  16. <meta name="description" content="V850 Options (Using as)">
  17. <meta name="keywords" content="V850 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="V850_002dDependent.html#V850_002dDependent" rel="up" title="V850-Dependent">
  25. <link href="V850-Syntax.html#V850-Syntax" rel="next" title="V850 Syntax">
  26. <link href="V850_002dDependent.html#V850_002dDependent" rel="prev" title="V850-Dependent">
  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="V850-Options"></a>
  57. <div class="header">
  58. <p>
  59. Next: <a href="V850-Syntax.html#V850-Syntax" accesskey="n" rel="next">V850 Syntax</a>, Up: <a href="V850_002dDependent.html#V850_002dDependent" accesskey="u" rel="up">V850-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-28"></a>
  63. <h4 class="subsection">9.49.1 Options</h4>
  64. <a name="index-V850-options-_0028none_0029"></a>
  65. <a name="index-options-for-V850-_0028none_0029"></a>
  66. <p><code>as</code> supports the following additional command-line options
  67. for the V850 processor family:
  68. </p>
  69. <a name="index-command_002dline-options_002c-V850"></a>
  70. <a name="index-V850-command_002dline-options"></a>
  71. <dl compact="compact">
  72. <dd>
  73. <a name="index-_002dwsigned_005foverflow-command_002dline-option_002c-V850"></a>
  74. </dd>
  75. <dt><code>-wsigned_overflow</code></dt>
  76. <dd><p>Causes warnings to be produced when signed immediate values overflow the
  77. space available for then within their opcodes. By default this option
  78. is disabled as it is possible to receive spurious warnings due to using
  79. exact bit patterns as immediate constants.
  80. </p>
  81. <a name="index-_002dwunsigned_005foverflow-command_002dline-option_002c-V850"></a>
  82. </dd>
  83. <dt><code>-wunsigned_overflow</code></dt>
  84. <dd><p>Causes warnings to be produced when unsigned immediate values overflow
  85. the space available for then within their opcodes. By default this
  86. option is disabled as it is possible to receive spurious warnings due to
  87. using exact bit patterns as immediate constants.
  88. </p>
  89. <a name="index-_002dmv850-command_002dline-option_002c-V850"></a>
  90. </dd>
  91. <dt><code>-mv850</code></dt>
  92. <dd><p>Specifies that the assembled code should be marked as being targeted at
  93. the V850 processor. This allows the linker to detect attempts to link
  94. such code with code assembled for other processors.
  95. </p>
  96. <a name="index-_002dmv850e-command_002dline-option_002c-V850"></a>
  97. </dd>
  98. <dt><code>-mv850e</code></dt>
  99. <dd><p>Specifies that the assembled code should be marked as being targeted at
  100. the V850E processor. This allows the linker to detect attempts to link
  101. such code with code assembled for other processors.
  102. </p>
  103. <a name="index-_002dmv850e1-command_002dline-option_002c-V850"></a>
  104. </dd>
  105. <dt><code>-mv850e1</code></dt>
  106. <dd><p>Specifies that the assembled code should be marked as being targeted at
  107. the V850E1 processor. This allows the linker to detect attempts to link
  108. such code with code assembled for other processors.
  109. </p>
  110. <a name="index-_002dmv850any-command_002dline-option_002c-V850"></a>
  111. </dd>
  112. <dt><code>-mv850any</code></dt>
  113. <dd><p>Specifies that the assembled code should be marked as being targeted at
  114. the V850 processor but support instructions that are specific to the
  115. extended variants of the process. This allows the production of
  116. binaries that contain target specific code, but which are also intended
  117. to be used in a generic fashion. For example libgcc.a contains generic
  118. routines used by the code produced by GCC for all versions of the v850
  119. architecture, together with support routines only used by the V850E
  120. architecture.
  121. </p>
  122. <a name="index-_002dmv850e2-command_002dline-option_002c-V850"></a>
  123. </dd>
  124. <dt><code>-mv850e2</code></dt>
  125. <dd><p>Specifies that the assembled code should be marked as being targeted at
  126. the V850E2 processor. This allows the linker to detect attempts to link
  127. such code with code assembled for other processors.
  128. </p>
  129. <a name="index-_002dmv850e2v3-command_002dline-option_002c-V850"></a>
  130. </dd>
  131. <dt><code>-mv850e2v3</code></dt>
  132. <dd><p>Specifies that the assembled code should be marked as being targeted at
  133. the V850E2V3 processor. This allows the linker to detect attempts to link
  134. such code with code assembled for other processors.
  135. </p>
  136. <a name="index-_002dmv850e2v4-command_002dline-option_002c-V850"></a>
  137. </dd>
  138. <dt><code>-mv850e2v4</code></dt>
  139. <dd><p>This is an alias for <samp>-mv850e3v5</samp>.
  140. </p>
  141. <a name="index-_002dmv850e3v5-command_002dline-option_002c-V850"></a>
  142. </dd>
  143. <dt><code>-mv850e3v5</code></dt>
  144. <dd><p>Specifies that the assembled code should be marked as being targeted at
  145. the V850E3V5 processor. This allows the linker to detect attempts to link
  146. such code with code assembled for other processors.
  147. </p>
  148. <a name="index-_002dmrelax-command_002dline-option_002c-V850"></a>
  149. </dd>
  150. <dt><code>-mrelax</code></dt>
  151. <dd><p>Enables relaxation. This allows the .longcall and .longjump pseudo
  152. ops to be used in the assembler source code. These ops label sections
  153. of code which are either a long function call or a long branch. The
  154. assembler will then flag these sections of code and the linker will
  155. attempt to relax them.
  156. </p>
  157. <a name="index-_002dmgcc_002dabi-command_002dline-option_002c-V850"></a>
  158. </dd>
  159. <dt><code>-mgcc-abi</code></dt>
  160. <dd><p>Marks the generated object file as supporting the old GCC ABI.
  161. </p>
  162. <a name="index-_002dmrh850_002dabi-command_002dline-option_002c-V850"></a>
  163. </dd>
  164. <dt><code>-mrh850-abi</code></dt>
  165. <dd><p>Marks the generated object file as supporting the RH850 ABI. This is
  166. the default.
  167. </p>
  168. <a name="index-_002dm8byte_002dalign-command_002dline-option_002c-V850"></a>
  169. </dd>
  170. <dt><code>-m8byte-align</code></dt>
  171. <dd><p>Marks the generated object file as supporting a maximum 64-bits of
  172. alignment for variables defined in the source code.
  173. </p>
  174. <a name="index-_002dm4byte_002dalign-command_002dline-option_002c-V850"></a>
  175. </dd>
  176. <dt><code>-m4byte-align</code></dt>
  177. <dd><p>Marks the generated object file as supporting a maximum 32-bits of
  178. alignment for variables defined in the source code. This is the
  179. default.
  180. </p>
  181. <a name="index-_002dmsoft_002dfloat-command_002dline-option_002c-V850"></a>
  182. </dd>
  183. <dt><code>-msoft-float</code></dt>
  184. <dd><p>Marks the generated object file as not using any floating point
  185. instructions - and hence can be linked with other V850 binaries
  186. that do or do not use floating point. This is the default for
  187. binaries for architectures earlier than the <code>e2v3</code>.
  188. </p>
  189. <a name="index-_002dmhard_002dfloat-command_002dline-option_002c-V850"></a>
  190. </dd>
  191. <dt><code>-mhard-float</code></dt>
  192. <dd><p>Marks the generated object file as one that uses floating point
  193. instructions - and hence can only be linked with other V850 binaries
  194. that use the same kind of floating point instructions, or with
  195. binaries that do not use floating point at all. This is the default
  196. for binaries the <code>e2v3</code> and later architectures.
  197. </p>
  198. </dd>
  199. </dl>
  200. <hr>
  201. <div class="header">
  202. <p>
  203. Next: <a href="V850-Syntax.html#V850-Syntax" accesskey="n" rel="next">V850 Syntax</a>, Up: <a href="V850_002dDependent.html#V850_002dDependent" accesskey="u" rel="up">V850-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>
  204. </div>
  205. </body>
  206. </html>