summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/arm-pragmas.html
blob: bd8cb2b0be7510b6e269463cd08b8d360af9fb76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<div class="subsection-level-extent" id="ARM-Pragmas"> <div class="nav-panel"> <p> Next: <a href="m32c-pragmas" accesskey="n" rel="next">M32C Pragmas</a>, Previous: <a href="aarch64-pragmas" accesskey="p" rel="prev">AArch64 Pragmas</a>, Up: <a href="pragmas" accesskey="u" rel="up">Pragmas Accepted by GCC</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="ARM-Pragmas-1"><span>6.62.2 ARM Pragmas<a class="copiable-link" href="#ARM-Pragmas-1"> ¶</a></span></h1> <p>The ARM target defines pragmas for controlling the default addition of <code class="code">long_call</code> and <code class="code">short_call</code> attributes to functions. See <a class="xref" href="function-attributes">Declaring Attributes of Functions</a>, for information about the effects of these attributes. </p> <dl class="table"> <dt>
<span><code class="code">long_calls</code><a class="copiable-link" href="#index-pragma_002c-long_005fcalls"> ¶</a></span>
</dt> <dd>
<p>Set all subsequent functions to have the <code class="code">long_call</code> attribute. </p> </dd> <dt>
<span><code class="code">no_long_calls</code><a class="copiable-link" href="#index-pragma_002c-no_005flong_005fcalls"> ¶</a></span>
</dt> <dd>
<p>Set all subsequent functions to have the <code class="code">short_call</code> attribute. </p> </dd> <dt>
<span><code class="code">long_calls_off</code><a class="copiable-link" href="#index-pragma_002c-long_005fcalls_005foff"> ¶</a></span>
</dt> <dd><p>Do not affect the <code class="code">long_call</code> or <code class="code">short_call</code> attributes of subsequent functions. </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/ARM-Pragmas.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/ARM-Pragmas.html</a>
  </p>
</div>