Commit 4b84f3de by Steve Ellcey Committed by Steve Ellcey

re PR target/30687 (undocumented attributes on ia64)

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

From-SVN: r143525
parent 872fbc1a
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>
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment