On Sun, Mar 16, 2014 at 12:43 PM, Sebastian Huber
<[email protected]> wrote:
> gcc/ChangeLog
> 2014-03-16 Sebastian Huber <[email protected]>
>
> * doc/invoke.texi (mapp-regs): Clarify.
Ok.
Thanks,
Richard.
> ---
> gcc/doc/invoke.texi | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index 24bd76e..485867d 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -20817,7 +20817,10 @@ These @samp{-m} options are supported on the SPARC:
> @opindex mapp-regs
> Specify @option{-mapp-regs} to generate output using the global registers
> 2 through 4, which the SPARC SVR4 ABI reserves for applications. This
> -is the default.
> +is the default. Like the global register 1 each global register 2 through 4
> is
> +then treated as an allocable register that is clobbered by function calls.
> +They may be allocated for temporaries or variables that do not live across a
> +call.
>
> To be fully SVR4 ABI-compliant at the cost of some performance loss,
> specify @option{-mno-app-regs}. You should compile libraries and system
> --
> 1.8.1.4
>