summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/h8_002f300-variable-attributes.html
blob: dc3eeb2ff2b344f0715f9fbedfe62587c4fc870e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<div class="subsection-level-extent" id="H8_002f300-Variable-Attributes"> <div class="nav-panel"> <p> Next: <a href="ia-64-variable-attributes" accesskey="n" rel="next">IA-64 Variable Attributes</a>, Previous: <a href="blackfin-variable-attributes" accesskey="p" rel="prev">Blackfin 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="H8_002f300-Variable-Attributes-1"><span>6.34.5 H8/300 Variable Attributes<a class="copiable-link" href="#H8_002f300-Variable-Attributes-1"> ¶</a></span></h1> <p>These variable attributes are available for H8/300 targets: </p> <dl class="table"> <dt>
 <span><code class="code">eightbit_data</code><a class="copiable-link" href="#index-eightbit_005fdata-variable-attribute_002c-H8_002f300"> ¶</a></span>
</dt> <dd>
<p>Use this attribute on the H8/300, H8/300H, and H8S to indicate that the specified variable should be placed into the eight-bit data section. The compiler generates more efficient code for certain operations on data in the eight-bit data area. Note the eight-bit data area is limited to 256 bytes of data. </p> <p>You must use GAS and GLD from GNU binutils version 2.7 or later for this attribute to work correctly. </p> </dd> <dt>
 <span><code class="code">tiny_data</code><a class="copiable-link" href="#index-tiny_005fdata-variable-attribute_002c-H8_002f300"> ¶</a></span>
</dt> <dd>
<p>Use this attribute on the H8/300H and H8S to indicate that the specified variable should be placed into the tiny data section. The compiler generates more efficient code for loads and stores on data in the tiny data section. Note the tiny data area is limited to slightly under 32KB of data. </p> </dd> </dl> </div><div class="_attribution">
  <p class="_attribution-p">
    &copy; 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/H8_002f300-Variable-Attributes.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/H8_002f300-Variable-Attributes.html</a>
  </p>
</div>