Commit d59224e6 by Sandra Loosemore Committed by Sandra Loosemore

re PR target/1078 (Problems with attributes documentation)

2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>

	PR 1078

	gcc/
	* extend.texi (Common Function Attributes) <no_stack_limit>: New.
	* invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
	to corresponding attribute.

From-SVN: r232034
parent b9596e00
2016-01-01 Sandra Loosemore <sandra@codesourcery.com> 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
PR 1078
* extend.texi (Common Function Attributes) <no_stack_limit>: New.
* invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
to corresponding attribute.
2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
* doc/extend.texi (Common Function Attributes) <noplt>: Move * doc/extend.texi (Common Function Attributes) <noplt>: Move
to correct alphabetization of table. Copy-edit and correct to correct alphabetization of table. Copy-edit and correct
markup. markup.
......
...@@ -2877,6 +2877,12 @@ prologue which decides whether to split the stack. Functions with the ...@@ -2877,6 +2877,12 @@ prologue which decides whether to split the stack. Functions with the
@code{no_split_stack} attribute do not have that prologue, and thus @code{no_split_stack} attribute do not have that prologue, and thus
may run with only a small amount of stack space available. may run with only a small amount of stack space available.
@item no_stack_limit
@cindex @code{no_stack_limit} function attribute
This attribute locally overrides the @option{-fstack-limit-register}
and @option{-fstack-limit-symbol} command-line options; it has the effect
of disabling stack limit checking in the function it applies to.
@item noclone @item noclone
@cindex @code{noclone} function attribute @cindex @code{noclone} function attribute
This function attribute prevents a function from being considered for This function attribute prevents a function from being considered for
......
...@@ -24631,6 +24631,9 @@ and grows downwards, you can use the flags ...@@ -24631,6 +24631,9 @@ and grows downwards, you can use the flags
@option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit @option{-Wl,--defsym,__stack_limit=0x7ffe0000} to enforce a stack limit
of 128KB@. Note that this may only work with the GNU linker. of 128KB@. Note that this may only work with the GNU linker.
You can locally override stack limit checking by using the
@code{no_stack_limit} function attribute (@pxref{Function Attributes}).
@item -fsplit-stack @item -fsplit-stack
@opindex fsplit-stack @opindex fsplit-stack
Generate code to automatically split the stack before it overflows. Generate code to automatically split the stack before it overflows.
......
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