blob: fcdcaccd5b348b96e7788fdf8d0b3b866dc88bcd (
plain)
1
2
3
4
5
6
7
8
9
|
<div class="subsection-level-extent" id="RS_002f6000-and-PowerPC-Pragmas"> <div class="nav-panel"> <p> Next: <a href="s_002f390-pragmas" accesskey="n" rel="next">S/390 Pragmas</a>, Previous: <a href="pru-pragmas" accesskey="p" rel="prev">PRU 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="RS_002f6000-and-PowerPC-Pragmas-1"><span>6.62.5 RS/6000 and PowerPC Pragmas<a class="copiable-link" href="#RS_002f6000-and-PowerPC-Pragmas-1"> ¶</a></span></h1> <p>The RS/6000 and PowerPC targets define one pragma for controlling whether or not the <code class="code">longcall</code> attribute is added to function declarations by default. This pragma overrides the <samp class="option">-mlongcall</samp> option, but not the <code class="code">longcall</code> and <code class="code">shortcall</code> attributes. See <a class="xref" href="rs_002f6000-and-powerpc-options">IBM RS/6000 and PowerPC Options</a>, for more information about when long calls are and are not necessary. </p> <dl class="table"> <dt>
<span><code class="code">longcall (1)</code><a class="copiable-link" href="#index-pragma_002c-longcall"> ¶</a></span>
</dt> <dd>
<p>Apply the <code class="code">longcall</code> attribute to all subsequent function declarations. </p> </dd> <dt><code class="code">longcall (0)</code></dt> <dd><p>Do not apply the <code class="code">longcall</code> attribute to subsequent function declarations. </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/RS_002f6000-and-PowerPC-Pragmas.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/RS_002f6000-and-PowerPC-Pragmas.html</a>
</p>
</div>
|