]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
docs: fix crossing declaration of @defmac and @hook.
authorMartin Liska <mliska@suse.cz>
Tue, 26 Jul 2022 12:06:11 +0000 (14:06 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 26 Jul 2022 12:07:19 +0000 (14:07 +0200)
gcc/ChangeLog:

* doc/tm.texi.in: Fix cross @defmac and @hook.
* doc/tm.texi: Copy.

gcc/doc/tm.texi
gcc/doc/tm.texi.in

index b0ea39884aa3ced5c0ccc1e792088aa66997ec3b..a3431adc49051a84b8fdf680ab631c4833805d9c 100644 (file)
@@ -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
index f869ddd5e5b8b7acbd8e9765fb103af24a1085b6..a645c7ea8222cc714c822340a206489777d4fe0d 100644 (file)
@@ -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