diff options
Diffstat (limited to 'devdocs/gcc~13/c6x-options.html')
| -rw-r--r-- | devdocs/gcc~13/c6x-options.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/devdocs/gcc~13/c6x-options.html b/devdocs/gcc~13/c6x-options.html new file mode 100644 index 00000000..8df79b54 --- /dev/null +++ b/devdocs/gcc~13/c6x-options.html @@ -0,0 +1,26 @@ +<div class="subsection-level-extent" id="C6X-Options"> <div class="nav-panel"> <p> Next: <a href="cris-options" accesskey="n" rel="next">CRIS Options</a>, Previous: <a href="blackfin-options" accesskey="p" rel="prev">Blackfin Options</a>, Up: <a href="submodel-options" accesskey="u" rel="up">Machine-Dependent Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="subsection" id="C6X-Options-1"><span>3.19.8 C6X Options<a class="copiable-link" href="#C6X-Options-1"> ¶</a></span></h1> <dl class="table"> <dt> +<span><code class="code">-march=<var class="var">name</var></code><a class="copiable-link" href="#index-march-3"> ¶</a></span> +</dt> <dd> +<p>This specifies the name of the target architecture. GCC uses this name to determine what kind of instructions it can emit when generating assembly code. Permissible names are: ‘<samp class="samp">c62x</samp>’, ‘<samp class="samp">c64x</samp>’, ‘<samp class="samp">c64x+</samp>’, ‘<samp class="samp">c67x</samp>’, ‘<samp class="samp">c67x+</samp>’, ‘<samp class="samp">c674x</samp>’. </p> </dd> <dt> +<span><code class="code">-mbig-endian</code><a class="copiable-link" href="#index-mbig-endian-3"> ¶</a></span> +</dt> <dd> +<p>Generate code for a big-endian target. </p> </dd> <dt> +<span><code class="code">-mlittle-endian</code><a class="copiable-link" href="#index-mlittle-endian-3"> ¶</a></span> +</dt> <dd> +<p>Generate code for a little-endian target. This is the default. </p> </dd> <dt> +<span><code class="code">-msim</code><a class="copiable-link" href="#index-msim-1"> ¶</a></span> +</dt> <dd> +<p>Choose startup files and linker script suitable for the simulator. </p> </dd> <dt> +<span><code class="code">-msdata=default</code><a class="copiable-link" href="#index-msdata_003ddefault"> ¶</a></span> +</dt> <dd> +<p>Put small global and static data in the <code class="code">.neardata</code> section, which is pointed to by register <code class="code">B14</code>. Put small uninitialized global and static data in the <code class="code">.bss</code> section, which is adjacent to the <code class="code">.neardata</code> section. Put small read-only data into the <code class="code">.rodata</code> section. The corresponding sections used for large pieces of data are <code class="code">.fardata</code>, <code class="code">.far</code> and <code class="code">.const</code>. </p> </dd> <dt> +<span><code class="code">-msdata=all</code><a class="copiable-link" href="#index-msdata_003dall"> ¶</a></span> +</dt> <dd> +<p>Put all data, not just small objects, into the sections reserved for small data, and use addressing relative to the <code class="code">B14</code> register to access them. </p> </dd> <dt> +<span><code class="code">-msdata=none</code><a class="copiable-link" href="#index-msdata_003dnone"> ¶</a></span> +</dt> <dd><p>Make no use of the sections reserved for small data, and use absolute addresses to access all data. Put all initialized global and static data in the <code class="code">.fardata</code> section, and all uninitialized data in the <code class="code">.far</code> section. Put all constant data into the <code class="code">.const</code> section. </p></dd> </dl> </div> <div class="nav-panel"> <p> Next: <a href="cris-options">CRIS Options</a>, Previous: <a href="blackfin-options">Blackfin Options</a>, Up: <a href="submodel-options">Machine-Dependent Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div><div class="_attribution"> + <p class="_attribution-p"> + © Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br> + <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/C6X-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/C6X-Options.html</a> + </p> +</div> |
