[PATCH v2] SPARC: Clarify -mapp-regs option

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Mar 31 09:59:00 GMT 2014


Ping.

On 2014-03-16 12:43, Sebastian Huber wrote:
> gcc/ChangeLog
> 2014-03-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>
> 	* doc/invoke.texi (mapp-regs): Clarify.
> ---
>   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
>


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Gcc-patches mailing list