summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/h8_002f300-options.html
blob: 746c93fb3542be661b7646b59fd759c99c64c102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="subsection-level-extent" id="H8_002f300-Options"> <div class="nav-panel"> <p> Next: <a href="hppa-options" accesskey="n" rel="next">HPPA Options</a>, Previous: <a href="gnu_002flinux-options" accesskey="p" rel="prev">GNU/Linux 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="H8_002f300-Options-1"><span>3.19.18 H8/300 Options<a class="copiable-link" href="#H8_002f300-Options-1"> ¶</a></span></h1> <p>These ‘<samp class="samp">-m</samp>’ options are defined for the H8/300 implementations: </p> <dl class="table"> <dt>
<span><code class="code">-mrelax</code><a class="copiable-link" href="#index-mrelax-1"> ¶</a></span>
</dt> <dd>
<p>Shorten some address references at link time, when possible; uses the linker option <samp class="option">-relax</samp>. See <a data-manual="ld" href="https://sourceware.org/binutils/docs/ld/H8_002f300.html#H8_002f300"><code class="code">ld</code> and the H8/300</a> in Using ld, for a fuller description. </p> </dd> <dt>
<span><code class="code">-mh</code><a class="copiable-link" href="#index-mh"> ¶</a></span>
</dt> <dd>
<p>Generate code for the H8/300H. </p> </dd> <dt>
<span><code class="code">-ms</code><a class="copiable-link" href="#index-ms"> ¶</a></span>
</dt> <dd>
<p>Generate code for the H8S. </p> </dd> <dt>
<span><code class="code">-mn</code><a class="copiable-link" href="#index-mn"> ¶</a></span>
</dt> <dd>
<p>Generate code for the H8S and H8/300H in the normal mode. This switch must be used either with <samp class="option">-mh</samp> or <samp class="option">-ms</samp>. </p> </dd> <dt>
<span><code class="code">-ms2600</code><a class="copiable-link" href="#index-ms2600"> ¶</a></span>
</dt> <dd>
<p>Generate code for the H8S/2600. This switch must be used with <samp class="option">-ms</samp>. </p> </dd> <dt>
<span><code class="code">-mexr</code><a class="copiable-link" href="#index-mexr"> ¶</a></span>
</dt> <dd>
<p>Extended registers are stored on stack before execution of function with monitor attribute. Default option is <samp class="option">-mexr</samp>. This option is valid only for H8S targets. </p> </dd> <dt>
 <span><code class="code">-mno-exr</code><a class="copiable-link" href="#index-mno-exr"> ¶</a></span>
</dt> <dd>
<p>Extended registers are not stored on stack before execution of function with monitor attribute. Default option is <samp class="option">-mno-exr</samp>. This option is valid only for H8S targets. </p> </dd> <dt>
<span><code class="code">-mint32</code><a class="copiable-link" href="#index-mint32"> ¶</a></span>
</dt> <dd>
<p>Make <code class="code">int</code> data 32 bits by default. </p> </dd> <dt>
<span><code class="code">-malign-300</code><a class="copiable-link" href="#index-malign-300"> ¶</a></span>
</dt> <dd><p>On the H8/300H and H8S, use the same alignment rules as for the H8/300. The default for the H8/300H and H8S is to align longs and floats on 4-byte boundaries. <samp class="option">-malign-300</samp> causes them to be aligned on 2-byte boundaries. This option has no effect on the H8/300. </p></dd> </dl> </div>  <div class="nav-panel"> <p> Next: <a href="hppa-options">HPPA Options</a>, Previous: <a href="gnu_002flinux-options">GNU/Linux 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">
    &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-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/H8_002f300-Options.html</a>
  </p>
</div>