summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/ia-64-function-attributes.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/ia-64-function-attributes.html
new repository
Diffstat (limited to 'devdocs/gcc~13/ia-64-function-attributes.html')
-rw-r--r--devdocs/gcc~13/ia-64-function-attributes.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/devdocs/gcc~13/ia-64-function-attributes.html b/devdocs/gcc~13/ia-64-function-attributes.html
new file mode 100644
index 00000000..8a7bb69f
--- /dev/null
+++ b/devdocs/gcc~13/ia-64-function-attributes.html
@@ -0,0 +1,14 @@
+<div class="subsection-level-extent" id="IA-64-Function-Attributes"> <div class="nav-panel"> <p> Next: <a href="m32c-function-attributes" accesskey="n" rel="next">M32C Function Attributes</a>, Previous: <a href="h8_002f300-function-attributes" accesskey="p" rel="prev">H8/300 Function Attributes</a>, Up: <a href="function-attributes" accesskey="u" rel="up">Declaring Attributes of Functions</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="IA-64-Function-Attributes-1"><span>6.33.12 IA-64 Function Attributes<a class="copiable-link" href="#IA-64-Function-Attributes-1"> ¶</a></span></h1> <p>These function attributes are supported on IA-64 targets: </p> <dl class="table"> <dt>
+<span><code class="code">syscall_linkage</code><a class="copiable-link" href="#index-syscall_005flinkage-function-attribute_002c-IA-64"> ¶</a></span>
+</dt> <dd>
+<p>This attribute is used to modify the IA-64 calling convention by marking all input registers as live at all function exits. This makes it possible to restart a system call after an interrupt without having to save/restore the input registers. This also prevents kernel data from leaking into application code. </p> </dd> <dt>
+<span><code class="code">version_id</code><a class="copiable-link" href="#index-version_005fid-function-attribute_002c-IA-64"> ¶</a></span>
+</dt> <dd>
+<p>This IA-64 HP-UX attribute, attached to a global variable or function, renames a symbol to contain a version string, thus allowing for function level versioning. HP-UX system header files may use function level versioning for some system calls. </p> <div class="example smallexample"> <pre class="example-preformatted" data-language="cpp">extern int foo () __attribute__((version_id ("20040821")));</pre>
+</div> <p>Calls to <code class="code">foo</code> are mapped to calls to <code class="code">foo{20040821}</code>. </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/IA-64-Function-Attributes.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/IA-64-Function-Attributes.html</a>
+ </p>
+</div>