blob: cf2c7a6a5a10769b876d2b046a0c2aa0bdbd9648 (
plain)
1
2
3
4
5
6
7
8
|
<div class="subsection-level-extent" id="LoongArch-Variable-Attributes"> <div class="nav-panel"> <p> Next: <a href="m32r_002fd-variable-attributes" accesskey="n" rel="next">M32R/D Variable Attributes</a>, Previous: <a href="ia-64-variable-attributes" accesskey="p" rel="prev">IA-64 Variable Attributes</a>, Up: <a href="variable-attributes" accesskey="u" rel="up">Specifying Attributes of Variables</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="LoongArch-Variable-Attributes-1"><span>6.34.7 LoongArch Variable Attributes<a class="copiable-link" href="#LoongArch-Variable-Attributes-1"> ¶</a></span></h1> <p>One attribute is currently defined for the LoongArch. </p> <dl class="table"> <dt>
<span><code class="code">model("<var class="var">name</var>")</code><a class="copiable-link" href="#index-model-variable-attribute_002c-LoongArch"> ¶</a></span>
</dt> <dd><p>Use this attribute on the LoongArch to use a different code model for addressing this variable, than the code model specified by the global <samp class="option">-mcmodel</samp> option. This attribute is mostly useful if a <code class="code">section</code> attribute and/or a linker script will locate this object specially. Currently the only supported values of <var class="var">name</var> are <code class="code">normal</code> and <code class="code">extreme</code>. </p></dd> </dl> </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/LoongArch-Variable-Attributes.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/LoongArch-Variable-Attributes.html</a>
</p>
</div>
|