This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch][doc] Document JMP_BUF_SIZE
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Gerald Pfeifer <gerald at pfeifer dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Mon, 25 Jun 2012 10:19:32 +0200
- Subject: Re: [patch][doc] Document JMP_BUF_SIZE
- References: <CABu31nOs-iVCiji9Lr48WnWpSZ+cAdnU3GrsR2c17rHrZBYPbw@mail.gmail.com>
On Sun, Jun 24, 2012 at 11:56 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hello,
>
> Documentation for this target macro is missing.
> This patch adds it. ?OK for trunk?
Ok.
Thanks,
Richard.
> Ciao!
> Steven
>
> ? ? ? ?* doc/tm.texi.in: Document JMP_BUF_SIZE.
> ? ? ? ?* doc/tm.texi: Regenerate.
>
>
>
> Index: doc/tm.texi.in
> ===================================================================
> --- doc/tm.texi.in ? ? ?(revision 188917)
> +++ doc/tm.texi.in ? ? ?(working copy)
> @@ -8856,6 +8856,14 @@ should use the @code{setjmp}/@code{longjmp} functi
> ?instead of the @code{__builtin_setjmp}/@code{__builtin_longjmp} machinery.
> ?@end defmac
>
> +@defmac JMP_BUF_SIZE
> +This macro has no effect unless @code{DONT_USE_BUILTIN_SETJMP} is also
> +defined. ?Define this macro if the default size of @code{jmp_buf} buffer
> +for the @code{setjmp}/@code{longjmp}-based exception handling mechanism
> +is not large enough, or if it is much too large.
> +The default size is @code{FIRST_PSEUDO_REGISTER * sizeof(void *)}.
> +@end defmac
> +
> ?@defmac DWARF_CIE_DATA_ALIGNMENT
> ?This macro need only be defined if the target might save registers in the
> ?function prologue at an offset to the stack pointer that is not aligned to
> Index: doc/tm.texi
> ===================================================================
> --- doc/tm.texi (revision 188917)
> +++ doc/tm.texi (working copy)
> @@ -8961,6 +8961,14 @@ should use the @code{setjmp}/@code{longjmp} functi
> ?instead of the @code{__builtin_setjmp}/@code{__builtin_longjmp} machinery.
> ?@end defmac
>
> +@defmac JMP_BUF_SIZE
> +This macro has no effect unless @code{DONT_USE_BUILTIN_SETJMP} is also
> +defined. ?Define this macro if the default size of @code{jmp_buf} buffer
> +for the @code{setjmp}/@code{longjmp}-based exception handling mechanism
> +is not large enough, or if it is much too large.
> +The default size is @code{FIRST_PSEUDO_REGISTER * sizeof(void *)}.
> +@end defmac
> +
> ?@defmac DWARF_CIE_DATA_ALIGNMENT
> ?This macro need only be defined if the target might save registers in the
> ?function prologue at an offset to the stack pointer that is not aligned to