re PR target/30687 (undocumented attributes on ia64)

PR target/30687
	* doc/extend.texi (syscall_linkage): New.
	(version_id): Modify.

From-SVN: r143525
This commit is contained in:
Steve Ellcey 2009-01-20 19:14:06 +00:00 committed by Steve Ellcey
parent 872fbc1ac7
commit 4b84f3de02
2 changed files with 16 additions and 2 deletions

View File

@ -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>

View File

@ -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.