From 87ce0f1fd65b342754efde97cf0eefc1061af87c Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 26 Jul 2022 14:26:58 +0200 Subject: docs: fix previsou commit gcc/ChangeLog: * doc/tm.texi.in: Fix placement of defmac. * doc/tm.texi: Copy. --- gcc/doc/tm.texi | 2 +- gcc/doc/tm.texi.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index a3431ad..92bda1a 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -10208,13 +10208,13 @@ 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. -@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 diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index a645c7e..1124623 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -6895,13 +6895,13 @@ 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. -@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 -- cgit v1.1