From 4b84f3de0228f00e3ef46f4db4971b7d24d2bda7 Mon Sep 17 00:00:00 2001 From: Steve Ellcey <sje@cup.hp.com> Date: Tue, 20 Jan 2009 19:14:06 +0000 Subject: [PATCH] re PR target/30687 (undocumented attributes on ia64) PR target/30687 * doc/extend.texi (syscall_linkage): New. (version_id): Modify. From-SVN: r143525 --- gcc/ChangeLog | 6 ++++++ gcc/doc/extend.texi | 12 ++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4bb5c71b3a4..8e90a9d3d4f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-01-20 Steve Ellcey <sje@cup.hp.com> + + PR target/30687 + * doc/extend.texi (syscall_linkage): New. + (version_id): Modify. + 2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com> Richard Guenther <rguenther@suse.de> diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 5a7e2d83e290..264e88a862d8 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2885,6 +2885,14 @@ On the Intel 386, the @code{stdcall} attribute causes the compiler to assume that the called function will pop off the stack space used to pass arguments, unless it takes a variable number of arguments. +@item syscall_linkage +@cindex @code{syscall_linkage} attribute +This attribute is used to modify the IA64 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. + @item target @cindex @code{target} function attribute The @code{target} attribute is used to specify that a function is to @@ -3085,8 +3093,8 @@ This is useful, for example, when the function is referenced only in inline assembly. @item version_id -@cindex @code{version_id} attribute on IA64 HP-UX -This attribute, attached to a global variable or function, renames a +@cindex @code{version_id} attribute +This IA64 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 version level functioning for some system calls. -- GitLab