This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch][doc] Document JMP_BUF_SIZE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]