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 5Copyright (C) 1991-2021 Free Software Foundation, Inc. 6 7Permission is granted to copy, distribute and/or modify this document 8under the terms of the GNU Free Documentation License, Version 1.3 9or any later version published by the Free Software Foundation; 10with no Invariant Sections, with no Front-Cover Texts, and with no 11Back-Cover Texts. A copy of the license is included in the 12section entitled "GNU Free Documentation License". 13 --> 14<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 15<head> 16<title>Using as: V850 Options</title> 17 18<meta name="description" content="Using as: V850 Options"> 19<meta name="keywords" content="Using as: V850 Options"> 20<meta name="resource-type" content="document"> 21<meta name="distribution" content="global"> 22<meta name="Generator" content="makeinfo"> 23<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 24<link href="index.html#Top" rel="start" title="Top"> 25<link href="AS-Index.html#AS-Index" rel="index" title="AS Index"> 26<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> 27<link href="V850_002dDependent.html#V850_002dDependent" rel="up" title="V850-Dependent"> 28<link href="V850-Syntax.html#V850-Syntax" rel="next" title="V850 Syntax"> 29<link href="V850_002dDependent.html#V850_002dDependent" rel="previous" title="V850-Dependent"> 30<style type="text/css"> 31<!-- 32a.summary-letter {text-decoration: none} 33blockquote.smallquotation {font-size: smaller} 34div.display {margin-left: 3.2em} 35div.example {margin-left: 3.2em} 36div.indentedblock {margin-left: 3.2em} 37div.lisp {margin-left: 3.2em} 38div.smalldisplay {margin-left: 3.2em} 39div.smallexample {margin-left: 3.2em} 40div.smallindentedblock {margin-left: 3.2em; font-size: smaller} 41div.smalllisp {margin-left: 3.2em} 42kbd {font-style:oblique} 43pre.display {font-family: inherit} 44pre.format {font-family: inherit} 45pre.menu-comment {font-family: serif} 46pre.menu-preformatted {font-family: serif} 47pre.smalldisplay {font-family: inherit; font-size: smaller} 48pre.smallexample {font-size: smaller} 49pre.smallformat {font-family: inherit; font-size: smaller} 50pre.smalllisp {font-size: smaller} 51span.nocodebreak {white-space:nowrap} 52span.nolinebreak {white-space:nowrap} 53span.roman {font-family:serif; font-weight:normal} 54span.sansserif {font-family:sans-serif; font-weight:normal} 55ul.no-bullet {list-style: none} 56--> 57</style> 58 59 60</head> 61 62<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> 63<a name="V850-Options"></a> 64<div class="header"> 65<p> 66Next: <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> [<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> 67</div> 68<hr> 69<a name="Options-28"></a> 70<h4 class="subsection">9.49.1 Options</h4> 71<a name="index-V850-options-_0028none_0029"></a> 72<a name="index-options-for-V850-_0028none_0029"></a> 73<p><code>as</code> supports the following additional command-line options 74for the V850 processor family: 75</p> 76<a name="index-command_002dline-options_002c-V850"></a> 77<a name="index-V850-command_002dline-options"></a> 78<dl compact="compact"> 79<dd> 80<a name="index-_002dwsigned_005foverflow-command_002dline-option_002c-V850"></a> 81</dd> 82<dt><code>-wsigned_overflow</code></dt> 83<dd><p>Causes warnings to be produced when signed immediate values overflow the 84space available for then within their opcodes. By default this option 85is disabled as it is possible to receive spurious warnings due to using 86exact bit patterns as immediate constants. 87</p> 88<a name="index-_002dwunsigned_005foverflow-command_002dline-option_002c-V850"></a> 89</dd> 90<dt><code>-wunsigned_overflow</code></dt> 91<dd><p>Causes warnings to be produced when unsigned immediate values overflow 92the space available for then within their opcodes. By default this 93option is disabled as it is possible to receive spurious warnings due to 94using exact bit patterns as immediate constants. 95</p> 96<a name="index-_002dmv850-command_002dline-option_002c-V850"></a> 97</dd> 98<dt><code>-mv850</code></dt> 99<dd><p>Specifies that the assembled code should be marked as being targeted at 100the V850 processor. This allows the linker to detect attempts to link 101such code with code assembled for other processors. 102</p> 103<a name="index-_002dmv850e-command_002dline-option_002c-V850"></a> 104</dd> 105<dt><code>-mv850e</code></dt> 106<dd><p>Specifies that the assembled code should be marked as being targeted at 107the V850E processor. This allows the linker to detect attempts to link 108such code with code assembled for other processors. 109</p> 110<a name="index-_002dmv850e1-command_002dline-option_002c-V850"></a> 111</dd> 112<dt><code>-mv850e1</code></dt> 113<dd><p>Specifies that the assembled code should be marked as being targeted at 114the V850E1 processor. This allows the linker to detect attempts to link 115such code with code assembled for other processors. 116</p> 117<a name="index-_002dmv850any-command_002dline-option_002c-V850"></a> 118</dd> 119<dt><code>-mv850any</code></dt> 120<dd><p>Specifies that the assembled code should be marked as being targeted at 121the V850 processor but support instructions that are specific to the 122extended variants of the process. This allows the production of 123binaries that contain target specific code, but which are also intended 124to be used in a generic fashion. For example libgcc.a contains generic 125routines used by the code produced by GCC for all versions of the v850 126architecture, together with support routines only used by the V850E 127architecture. 128</p> 129<a name="index-_002dmv850e2-command_002dline-option_002c-V850"></a> 130</dd> 131<dt><code>-mv850e2</code></dt> 132<dd><p>Specifies that the assembled code should be marked as being targeted at 133the V850E2 processor. This allows the linker to detect attempts to link 134such code with code assembled for other processors. 135</p> 136<a name="index-_002dmv850e2v3-command_002dline-option_002c-V850"></a> 137</dd> 138<dt><code>-mv850e2v3</code></dt> 139<dd><p>Specifies that the assembled code should be marked as being targeted at 140the V850E2V3 processor. This allows the linker to detect attempts to link 141such code with code assembled for other processors. 142</p> 143<a name="index-_002dmv850e2v4-command_002dline-option_002c-V850"></a> 144</dd> 145<dt><code>-mv850e2v4</code></dt> 146<dd><p>This is an alias for <samp>-mv850e3v5</samp>. 147</p> 148<a name="index-_002dmv850e3v5-command_002dline-option_002c-V850"></a> 149</dd> 150<dt><code>-mv850e3v5</code></dt> 151<dd><p>Specifies that the assembled code should be marked as being targeted at 152the V850E3V5 processor. This allows the linker to detect attempts to link 153such code with code assembled for other processors. 154</p> 155<a name="index-_002dmrelax-command_002dline-option_002c-V850"></a> 156</dd> 157<dt><code>-mrelax</code></dt> 158<dd><p>Enables relaxation. This allows the .longcall and .longjump pseudo 159ops to be used in the assembler source code. These ops label sections 160of code which are either a long function call or a long branch. The 161assembler will then flag these sections of code and the linker will 162attempt to relax them. 163</p> 164<a name="index-_002dmgcc_002dabi-command_002dline-option_002c-V850"></a> 165</dd> 166<dt><code>-mgcc-abi</code></dt> 167<dd><p>Marks the generated object file as supporting the old GCC ABI. 168</p> 169<a name="index-_002dmrh850_002dabi-command_002dline-option_002c-V850"></a> 170</dd> 171<dt><code>-mrh850-abi</code></dt> 172<dd><p>Marks the generated object file as supporting the RH850 ABI. This is 173the default. 174</p> 175<a name="index-_002dm8byte_002dalign-command_002dline-option_002c-V850"></a> 176</dd> 177<dt><code>-m8byte-align</code></dt> 178<dd><p>Marks the generated object file as supporting a maximum 64-bits of 179alignment for variables defined in the source code. 180</p> 181<a name="index-_002dm4byte_002dalign-command_002dline-option_002c-V850"></a> 182</dd> 183<dt><code>-m4byte-align</code></dt> 184<dd><p>Marks the generated object file as supporting a maximum 32-bits of 185alignment for variables defined in the source code. This is the 186default. 187</p> 188<a name="index-_002dmsoft_002dfloat-command_002dline-option_002c-V850"></a> 189</dd> 190<dt><code>-msoft-float</code></dt> 191<dd><p>Marks the generated object file as not using any floating point 192instructions - and hence can be linked with other V850 binaries 193that do or do not use floating point. This is the default for 194binaries for architectures earlier than the <code>e2v3</code>. 195</p> 196<a name="index-_002dmhard_002dfloat-command_002dline-option_002c-V850"></a> 197</dd> 198<dt><code>-mhard-float</code></dt> 199<dd><p>Marks the generated object file as one that uses floating point 200instructions - and hence can only be linked with other V850 binaries 201that use the same kind of floating point instructions, or with 202binaries that do not use floating point at all. This is the default 203for binaries the <code>e2v3</code> and later architectures. 204</p> 205</dd> 206</dl> 207 208<hr> 209<div class="header"> 210<p> 211Next: <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> [<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> 212</div> 213 214 215 216</body> 217</html> 218