1<html lang="en"> 2<head> 3<title>V850 Options - Using as</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Using as"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="V850_002dDependent.html#V850_002dDependent" title="V850-Dependent"> 9<link rel="next" href="V850-Syntax.html#V850-Syntax" title="V850 Syntax"> 10<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 11<!-- 12This file documents the GNU Assembler "as". 13 14Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 152000, 2001, 2002, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 16Inc. 17 18Permission is granted to copy, distribute and/or modify this document 19under the terms of the GNU Free Documentation License, Version 1.3 20or any later version published by the Free Software Foundation; 21with no Invariant Sections, with no Front-Cover Texts, and with no 22Back-Cover Texts. A copy of the license is included in the 23section entitled ``GNU Free Documentation License''. 24 25--> 26<meta http-equiv="Content-Style-Type" content="text/css"> 27<style type="text/css"><!-- 28 pre.display { font-family:inherit } 29 pre.format { font-family:inherit } 30 pre.smalldisplay { font-family:inherit; font-size:smaller } 31 pre.smallformat { font-family:inherit; font-size:smaller } 32 pre.smallexample { font-size:smaller } 33 pre.smalllisp { font-size:smaller } 34 span.sc { font-variant:small-caps } 35 span.roman { font-family:serif; font-weight:normal; } 36 span.sansserif { font-family:sans-serif; font-weight:normal; } 37--></style> 38<link rel="stylesheet" type="text/css" href="../cs.css"> 39</head> 40<body> 41<div class="node"> 42<a name="V850-Options"></a> 43<p> 44Next: <a rel="next" accesskey="n" href="V850-Syntax.html#V850-Syntax">V850 Syntax</a>, 45Up: <a rel="up" accesskey="u" href="V850_002dDependent.html#V850_002dDependent">V850-Dependent</a> 46<hr> 47</div> 48 49<h4 class="subsection">9.44.1 Options</h4> 50 51<p><a name="index-V850-options-_0028none_0029-2085"></a><a name="index-options-for-V850-_0028none_0029-2086"></a><code>as</code> supports the following additional command-line options 52for the V850 processor family: 53 54 <p><a name="index-command-line-options_002c-V850-2087"></a><a name="index-V850-command-line-options-2088"></a> 55 56<a name="index-g_t_0040code_007b_002dwsigned_005foverflow_007d-command-line-option_002c-V850-2089"></a> 57<dl><dt><code>-wsigned_overflow</code><dd>Causes warnings to be produced when signed immediate values overflow the 58space available for then within their opcodes. By default this option 59is disabled as it is possible to receive spurious warnings due to using 60exact bit patterns as immediate constants. 61 62 <p><a name="index-g_t_0040code_007b_002dwunsigned_005foverflow_007d-command-line-option_002c-V850-2090"></a><br><dt><code>-wunsigned_overflow</code><dd>Causes warnings to be produced when unsigned immediate values overflow 63the space available for then within their opcodes. By default this 64option is disabled as it is possible to receive spurious warnings due to 65using exact bit patterns as immediate constants. 66 67 <p><a name="index-g_t_0040code_007b_002dmv850_007d-command-line-option_002c-V850-2091"></a><br><dt><code>-mv850</code><dd>Specifies that the assembled code should be marked as being targeted at 68the V850 processor. This allows the linker to detect attempts to link 69such code with code assembled for other processors. 70 71 <p><a name="index-g_t_0040code_007b_002dmv850e_007d-command-line-option_002c-V850-2092"></a><br><dt><code>-mv850e</code><dd>Specifies that the assembled code should be marked as being targeted at 72the V850E processor. This allows the linker to detect attempts to link 73such code with code assembled for other processors. 74 75 <p><a name="index-g_t_0040code_007b_002dmv850e1_007d-command-line-option_002c-V850-2093"></a><br><dt><code>-mv850e1</code><dd>Specifies that the assembled code should be marked as being targeted at 76the V850E1 processor. This allows the linker to detect attempts to link 77such code with code assembled for other processors. 78 79 <p><a name="index-g_t_0040code_007b_002dmv850any_007d-command-line-option_002c-V850-2094"></a><br><dt><code>-mv850any</code><dd>Specifies that the assembled code should be marked as being targeted at 80the V850 processor but support instructions that are specific to the 81extended variants of the process. This allows the production of 82binaries that contain target specific code, but which are also intended 83to be used in a generic fashion. For example libgcc.a contains generic 84routines used by the code produced by GCC for all versions of the v850 85architecture, together with support routines only used by the V850E 86architecture. 87 88 <p><a name="index-g_t_0040code_007b_002dmv850e2_007d-command-line-option_002c-V850-2095"></a><br><dt><code>-mv850e2</code><dd>Specifies that the assembled code should be marked as being targeted at 89the V850E2 processor. This allows the linker to detect attempts to link 90such code with code assembled for other processors. 91 92 <p><a name="index-g_t_0040code_007b_002dmv850e2v3_007d-command-line-option_002c-V850-2096"></a><br><dt><code>-mv850e2v3</code><dd>Specifies that the assembled code should be marked as being targeted at 93the V850E2V3 processor. This allows the linker to detect attempts to link 94such code with code assembled for other processors. 95 96 <p><a name="index-g_t_0040code_007b_002dmrelax_007d-command-line-option_002c-V850-2097"></a><br><dt><code>-mrelax</code><dd>Enables relaxation. This allows the .longcall and .longjump pseudo 97ops to be used in the assembler source code. These ops label sections 98of code which are either a long function call or a long branch. The 99assembler will then flag these sections of code and the linker will 100attempt to relax them. 101 102 </dl> 103 104 </body></html> 105 106