V850-Options.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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-2017 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 5.2, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <title>Using as: V850 Options</title>
  15. <meta name="description" content="Using as: V850 Options">
  16. <meta name="keywords" content="Using as: V850 Options">
  17. <meta name="resource-type" content="document">
  18. <meta name="distribution" content="global">
  19. <meta name="Generator" content="makeinfo">
  20. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  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.smallquotation {font-size: smaller}
  31. div.display {margin-left: 3.2em}
  32. div.example {margin-left: 3.2em}
  33. div.indentedblock {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.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  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.nocodebreak {white-space:nowrap}
  49. span.nolinebreak {white-space:nowrap}
  50. span.roman {font-family:serif; font-weight:normal}
  51. span.sansserif {font-family:sans-serif; font-weight:normal}
  52. ul.no-bullet {list-style: none}
  53. -->
  54. </style>
  55. </head>
  56. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  57. <a name="V850-Options"></a>
  58. <div class="header">
  59. <p>
  60. 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>
  61. </div>
  62. <hr>
  63. <a name="Options-28"></a>
  64. <h4 class="subsection">9.48.1 Options</h4>
  65. <a name="index-V850-options-_0028none_0029"></a>
  66. <a name="index-options-for-V850-_0028none_0029"></a>
  67. <p><code>as</code> supports the following additional command-line options
  68. for the V850 processor family:
  69. </p>
  70. <a name="index-command-line-options_002c-V850"></a>
  71. <a name="index-V850-command-line-options"></a>
  72. <dl compact="compact">
  73. <dd>
  74. <a name="index-_002dwsigned_005foverflow-command-line-option_002c-V850"></a>
  75. </dd>
  76. <dt><code>-wsigned_overflow</code></dt>
  77. <dd><p>Causes warnings to be produced when signed immediate values overflow the
  78. space available for then within their opcodes. By default this option
  79. is disabled as it is possible to receive spurious warnings due to using
  80. exact bit patterns as immediate constants.
  81. </p>
  82. <a name="index-_002dwunsigned_005foverflow-command-line-option_002c-V850"></a>
  83. </dd>
  84. <dt><code>-wunsigned_overflow</code></dt>
  85. <dd><p>Causes warnings to be produced when unsigned immediate values overflow
  86. the space available for then within their opcodes. By default this
  87. option is disabled as it is possible to receive spurious warnings due to
  88. using exact bit patterns as immediate constants.
  89. </p>
  90. <a name="index-_002dmv850-command-line-option_002c-V850"></a>
  91. </dd>
  92. <dt><code>-mv850</code></dt>
  93. <dd><p>Specifies that the assembled code should be marked as being targeted at
  94. the V850 processor. This allows the linker to detect attempts to link
  95. such code with code assembled for other processors.
  96. </p>
  97. <a name="index-_002dmv850e-command-line-option_002c-V850"></a>
  98. </dd>
  99. <dt><code>-mv850e</code></dt>
  100. <dd><p>Specifies that the assembled code should be marked as being targeted at
  101. the V850E processor. This allows the linker to detect attempts to link
  102. such code with code assembled for other processors.
  103. </p>
  104. <a name="index-_002dmv850e1-command-line-option_002c-V850"></a>
  105. </dd>
  106. <dt><code>-mv850e1</code></dt>
  107. <dd><p>Specifies that the assembled code should be marked as being targeted at
  108. the V850E1 processor. This allows the linker to detect attempts to link
  109. such code with code assembled for other processors.
  110. </p>
  111. <a name="index-_002dmv850any-command-line-option_002c-V850"></a>
  112. </dd>
  113. <dt><code>-mv850any</code></dt>
  114. <dd><p>Specifies that the assembled code should be marked as being targeted at
  115. the V850 processor but support instructions that are specific to the
  116. extended variants of the process. This allows the production of
  117. binaries that contain target specific code, but which are also intended
  118. to be used in a generic fashion. For example libgcc.a contains generic
  119. routines used by the code produced by GCC for all versions of the v850
  120. architecture, together with support routines only used by the V850E
  121. architecture.
  122. </p>
  123. <a name="index-_002dmv850e2-command-line-option_002c-V850"></a>
  124. </dd>
  125. <dt><code>-mv850e2</code></dt>
  126. <dd><p>Specifies that the assembled code should be marked as being targeted at
  127. the V850E2 processor. This allows the linker to detect attempts to link
  128. such code with code assembled for other processors.
  129. </p>
  130. <a name="index-_002dmv850e2v3-command-line-option_002c-V850"></a>
  131. </dd>
  132. <dt><code>-mv850e2v3</code></dt>
  133. <dd><p>Specifies that the assembled code should be marked as being targeted at
  134. the V850E2V3 processor. This allows the linker to detect attempts to link
  135. such code with code assembled for other processors.
  136. </p>
  137. <a name="index-_002dmv850e2v4-command-line-option_002c-V850"></a>
  138. </dd>
  139. <dt><code>-mv850e2v4</code></dt>
  140. <dd><p>This is an alias for <samp>-mv850e3v5</samp>.
  141. </p>
  142. <a name="index-_002dmv850e3v5-command-line-option_002c-V850"></a>
  143. </dd>
  144. <dt><code>-mv850e3v5</code></dt>
  145. <dd><p>Specifies that the assembled code should be marked as being targeted at
  146. the V850E3V5 processor. This allows the linker to detect attempts to link
  147. such code with code assembled for other processors.
  148. </p>
  149. <a name="index-_002dmrelax-command-line-option_002c-V850"></a>
  150. </dd>
  151. <dt><code>-mrelax</code></dt>
  152. <dd><p>Enables relaxation. This allows the .longcall and .longjump pseudo
  153. ops to be used in the assembler source code. These ops label sections
  154. of code which are either a long function call or a long branch. The
  155. assembler will then flag these sections of code and the linker will
  156. attempt to relax them.
  157. </p>
  158. <a name="index-_002dmgcc_002dabi-command-line-option_002c-V850"></a>
  159. </dd>
  160. <dt><code>-mgcc-abi</code></dt>
  161. <dd><p>Marks the generated object file as supporting the old GCC ABI.
  162. </p>
  163. <a name="index-_002dmrh850_002dabi-command-line-option_002c-V850"></a>
  164. </dd>
  165. <dt><code>-mrh850-abi</code></dt>
  166. <dd><p>Marks the generated object file as supporting the RH850 ABI. This is
  167. the default.
  168. </p>
  169. <a name="index-_002dm8byte_002dalign-command-line-option_002c-V850"></a>
  170. </dd>
  171. <dt><code>-m8byte-align</code></dt>
  172. <dd><p>Marks the generated object file as supporting a maximum 64-bits of
  173. alignment for variables defined in the source code.
  174. </p>
  175. <a name="index-_002dm4byte_002dalign-command-line-option_002c-V850"></a>
  176. </dd>
  177. <dt><code>-m4byte-align</code></dt>
  178. <dd><p>Marks the generated object file as supporting a maximum 32-bits of
  179. alignment for variables defined in the source code. This is the
  180. default.
  181. </p>
  182. <a name="index-_002dmsoft_002dfloat-command-line-option_002c-V850"></a>
  183. </dd>
  184. <dt><code>-msoft-float</code></dt>
  185. <dd><p>Marks the generated object file as not using any floating point
  186. instructions - and hence can be linked with other V850 binaries
  187. that do or do not use floating point. This is the default for
  188. binaries for architectures earlier than the <code>e2v3</code>.
  189. </p>
  190. <a name="index-_002dmhard_002dfloat-command-line-option_002c-V850"></a>
  191. </dd>
  192. <dt><code>-mhard-float</code></dt>
  193. <dd><p>Marks the generated object file as one that uses floating point
  194. instructions - and hence can only be linked with other V850 binaries
  195. that use the same kind of floating point instructions, or with
  196. binaries that do not use floating point at all. This is the default
  197. for binaries the <code>e2v3</code> and later architectures.
  198. </p>
  199. </dd>
  200. </dl>
  201. <hr>
  202. <div class="header">
  203. <p>
  204. 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>
  205. </div>
  206. </body>
  207. </html>