public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-1842] docs: fix crossing declaration of @defmac and @hook.
Date: Tue, 26 Jul 2022 12:07:36 +0000 (GMT)	[thread overview]
Message-ID: <20220726120736.9AFDA385828C@sourceware.org> (raw)

https://gcc.gnu.org/g:78017eaa3693afac824d101d24d819db89ab7bc5

commit r13-1842-g78017eaa3693afac824d101d24d819db89ab7bc5
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jul 26 14:06:11 2022 +0200

    docs: fix crossing declaration of @defmac and @hook.
    
    gcc/ChangeLog:
    
            * doc/tm.texi.in: Fix cross @defmac and @hook.
            * doc/tm.texi: Copy.

Diff:
---
 gcc/doc/tm.texi    | 14 +++++++-------
 gcc/doc/tm.texi.in |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index b0ea39884aa..a3431adc490 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -10208,19 +10208,19 @@ Here are macros for DWARF output.
 @defmac DWARF2_DEBUGGING_INFO
 Define this macro if GCC should produce dwarf version 2 format
 debugging output in response to the @option{-g} option.
-
-@deftypefn {Target Hook} int TARGET_DWARF_CALLING_CONVENTION (const_tree @var{function})
-Define this to enable the dwarf attribute @code{DW_AT_calling_convention} to
-be emitted for each function.  Instead of an integer return the enum
-value for the @code{DW_CC_} tag.
-@end deftypefn
+@end defmac
 
 To support optional call frame debugging information, you must also
 define @code{INCOMING_RETURN_ADDR_RTX} and either set
 @code{RTX_FRAME_RELATED_P} on the prologue insns if you use RTL for the
 prologue, or call @code{dwarf2out_def_cfa} and @code{dwarf2out_reg_save}
 as appropriate from @code{TARGET_ASM_FUNCTION_PROLOGUE} if you don't.
-@end defmac
+
+@deftypefn {Target Hook} int TARGET_DWARF_CALLING_CONVENTION (const_tree @var{function})
+Define this to enable the dwarf attribute @code{DW_AT_calling_convention} to
+be emitted for each function.  Instead of an integer return the enum
+value for the @code{DW_CC_} tag.
+@end deftypefn
 
 @defmac DWARF2_FRAME_INFO
 Define this macro to a nonzero value if GCC should always output
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index f869ddd5e5b..a645c7ea822 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -6895,15 +6895,15 @@ Here are macros for DWARF output.
 @defmac DWARF2_DEBUGGING_INFO
 Define this macro if GCC should produce dwarf version 2 format
 debugging output in response to the @option{-g} option.
-
-@hook TARGET_DWARF_CALLING_CONVENTION
+@end defmac
 
 To support optional call frame debugging information, you must also
 define @code{INCOMING_RETURN_ADDR_RTX} and either set
 @code{RTX_FRAME_RELATED_P} on the prologue insns if you use RTL for the
 prologue, or call @code{dwarf2out_def_cfa} and @code{dwarf2out_reg_save}
 as appropriate from @code{TARGET_ASM_FUNCTION_PROLOGUE} if you don't.
-@end defmac
+
+@hook TARGET_DWARF_CALLING_CONVENTION
 
 @defmac DWARF2_FRAME_INFO
 Define this macro to a nonzero value if GCC should always output


                 reply	other threads:[~2022-07-26 12:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220726120736.9AFDA385828C@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).