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: TIC6X Options</title> 17 18<meta name="description" content="Using as: TIC6X Options"> 19<meta name="keywords" content="Using as: TIC6X 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="TIC6X_002dDependent.html#TIC6X_002dDependent" rel="up" title="TIC6X-Dependent"> 28<link href="TIC6X-Syntax.html#TIC6X-Syntax" rel="next" title="TIC6X Syntax"> 29<link href="TIC6X_002dDependent.html#TIC6X_002dDependent" rel="previous" title="TIC6X-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="TIC6X-Options"></a> 64<div class="header"> 65<p> 66Next: <a href="TIC6X-Syntax.html#TIC6X-Syntax" accesskey="n" rel="next">TIC6X Syntax</a>, Up: <a href="TIC6X_002dDependent.html#TIC6X_002dDependent" accesskey="u" rel="up">TIC6X-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="TIC6X-Options-1"></a> 70<h4 class="subsection">9.46.1 TIC6X Options</h4> 71<a name="index-TIC6X-options"></a> 72<a name="index-options-for-TIC6X"></a> 73 74<dl compact="compact"> 75<dd> 76<a name="index-_002dmarch_003d-command_002dline-option_002c-TIC6X"></a> 77</dd> 78<dt><code>-march=<var>arch</var></code></dt> 79<dd><p>Enable (only) instructions from architecture <var>arch</var>. By default, 80all instructions are permitted. 81</p> 82<p>The following values of <var>arch</var> are accepted: <code>c62x</code>, 83<code>c64x</code>, <code>c64x+</code>, <code>c67x</code>, <code>c67x+</code>, <code>c674x</code>. 84</p> 85<a name="index-_002dmdsbt-command_002dline-option_002c-TIC6X"></a> 86<a name="index-_002dmno_002ddsbt-command_002dline-option_002c-TIC6X"></a> 87</dd> 88<dt><code>-mdsbt</code></dt> 89<dt><code>-mno-dsbt</code></dt> 90<dd><p>The <samp>-mdsbt</samp> option causes the assembler to generate the 91<code>Tag_ABI_DSBT</code> attribute with a value of 1, indicating that the 92code is using DSBT addressing. The <samp>-mno-dsbt</samp> option, the 93default, causes the tag to have a value of 0, indicating that the code 94does not use DSBT addressing. The linker will emit a warning if 95objects of different type (DSBT and non-DSBT) are linked together. 96</p> 97<a name="index-_002dmpid_003d-command_002dline-option_002c-TIC6X"></a> 98</dd> 99<dt><code>-mpid=no</code></dt> 100<dt><code>-mpid=near</code></dt> 101<dt><code>-mpid=far</code></dt> 102<dd><p>The <samp>-mpid=</samp> option causes the assembler to generate the 103<code>Tag_ABI_PID</code> attribute with a value indicating the form of data 104addressing used by the code. <samp>-mpid=no</samp>, the default, 105indicates position-dependent data addressing, <samp>-mpid=near</samp> 106indicates position-independent addressing with GOT accesses using near 107DP addressing, and <samp>-mpid=far</samp> indicates position-independent 108addressing with GOT accesses using far DP addressing. The linker will 109emit a warning if objects built with different settings of this option 110are linked together. 111</p> 112<a name="index-_002dmpic-command_002dline-option_002c-TIC6X"></a> 113<a name="index-_002dmno_002dpic-command_002dline-option_002c-TIC6X"></a> 114</dd> 115<dt><code>-mpic</code></dt> 116<dt><code>-mno-pic</code></dt> 117<dd><p>The <samp>-mpic</samp> option causes the assembler to generate the 118<code>Tag_ABI_PIC</code> attribute with a value of 1, indicating that the 119code is using position-independent code addressing, The 120<code>-mno-pic</code> option, the default, causes the tag to have a value of 1210, indicating position-dependent code addressing. The linker will 122emit a warning if objects of different type (position-dependent and 123position-independent) are linked together. 124</p> 125<a name="index-TIC6X-big_002dendian-output"></a> 126<a name="index-TIC6X-little_002dendian-output"></a> 127<a name="index-big_002dendian-output_002c-TIC6X"></a> 128<a name="index-little_002dendian-output_002c-TIC6X"></a> 129</dd> 130<dt><code>-mbig-endian</code></dt> 131<dt><code>-mlittle-endian</code></dt> 132<dd><p>Generate code for the specified endianness. The default is 133little-endian. 134</p> 135</dd> 136</dl> 137 138<hr> 139<div class="header"> 140<p> 141Next: <a href="TIC6X-Syntax.html#TIC6X-Syntax" accesskey="n" rel="next">TIC6X Syntax</a>, Up: <a href="TIC6X_002dDependent.html#TIC6X_002dDependent" accesskey="u" rel="up">TIC6X-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> 142</div> 143 144 145 146</body> 147</html> 148