Re: [doc] tm.texi: Move NO_DOLLAR_IN LABEL and NO_DOT_IN_LABEL to Label Output section (was: GCC 4.6.1 likes to rename my functions)
On Mon, Apr 16, 2012 at 2:10 AM, Gerald Pfeifer ger...@pfeifer.com wrote: On Wed, 6 Jul 2011, Paulo J. Matos wrote: On 06/07/11 16:08, Richard Guenther wrote: See cgraph.c:clone_function_name, it uses the NO_DOT_IN_LABEL and NO_DOLLAR_IN_LABEL target macros and ASM_FORMAT_PRIVATE_NAME. Why are NO_DOLLAR_IN LABEL and NO_DOT_IN_LABEL not listed in the Output and Generation of Labels instead of Misc. The former sounds like it's a better fit to describe these macros. Because nobody moved them yet? ;-) Richi, are you fine with this? Yes. Thanks, Richard. Gerald 2012-04-16 Gerald Pfeifer ger...@pfeifer.com * doc/tm.texi (Misc): Move descriptions of NO_DOLLAR_IN_LABEL and NO_DOT_IN_LABEL from here... (Label Output): ...to here. Index: doc/tm.texi === --- doc/tm.texi (revision 186466) +++ doc/tm.texi (working copy) @@ -7842,6 +7842,20 @@ to redefine @code{ASM_OUTPUT_MEASURED_SIZE} to use some other technique. @end defmac +@defmac NO_DOLLAR_IN_LABEL +Define this macro if the assembler does not accept the character +@samp{$} in label names. By default constructors and destructors in +G++ have @samp{$} in the identifiers. If this macro is defined, +@samp{.} is used instead. +@end defmac + +@defmac NO_DOT_IN_LABEL +Define this macro if the assembler does not accept the character +@samp{.} in label names. By default constructors and destructors in G++ +have names that use @samp{.}. If this macro is defined, these names +are rewritten to avoid @samp{.}. +@end defmac + @defmac TYPE_ASM_OP A C string containing the appropriate assembler directive to specify the type of a symbol, without any arguments. On systems that use ELF, the @@ -10778,20 +10792,6 @@ there is no need to define this macro in that case. @end defmac -@defmac NO_DOLLAR_IN_LABEL -Define this macro if the assembler does not accept the character -@samp{$} in label names. By default constructors and destructors in -G++ have @samp{$} in the identifiers. If this macro is defined, -@samp{.} is used instead. -@end defmac - -@defmac NO_DOT_IN_LABEL -Define this macro if the assembler does not accept the character -@samp{.} in label names. By default constructors and destructors in G++ -have names that use @samp{.}. If this macro is defined, these names -are rewritten to avoid @samp{.}. -@end defmac - @defmac INSN_SETS_ARE_DELAYED (@var{insn}) Define this macro as a C expression that is nonzero if it is safe for the delay slot scheduler to place instructions in the delay slot of @var{insn},
[doc] tm.texi: Move NO_DOLLAR_IN LABEL and NO_DOT_IN_LABEL to Label Output section (was: GCC 4.6.1 likes to rename my functions)
On Wed, 6 Jul 2011, Paulo J. Matos wrote: On 06/07/11 16:08, Richard Guenther wrote: See cgraph.c:clone_function_name, it uses the NO_DOT_IN_LABEL and NO_DOLLAR_IN_LABEL target macros and ASM_FORMAT_PRIVATE_NAME. Why are NO_DOLLAR_IN LABEL and NO_DOT_IN_LABEL not listed in the Output and Generation of Labels instead of Misc. The former sounds like it's a better fit to describe these macros. Because nobody moved them yet? ;-) Richi, are you fine with this? Gerald 2012-04-16 Gerald Pfeifer ger...@pfeifer.com * doc/tm.texi (Misc): Move descriptions of NO_DOLLAR_IN_LABEL and NO_DOT_IN_LABEL from here... (Label Output): ...to here. Index: doc/tm.texi === --- doc/tm.texi (revision 186466) +++ doc/tm.texi (working copy) @@ -7842,6 +7842,20 @@ to redefine @code{ASM_OUTPUT_MEASURED_SIZE} to use some other technique. @end defmac +@defmac NO_DOLLAR_IN_LABEL +Define this macro if the assembler does not accept the character +@samp{$} in label names. By default constructors and destructors in +G++ have @samp{$} in the identifiers. If this macro is defined, +@samp{.} is used instead. +@end defmac + +@defmac NO_DOT_IN_LABEL +Define this macro if the assembler does not accept the character +@samp{.} in label names. By default constructors and destructors in G++ +have names that use @samp{.}. If this macro is defined, these names +are rewritten to avoid @samp{.}. +@end defmac + @defmac TYPE_ASM_OP A C string containing the appropriate assembler directive to specify the type of a symbol, without any arguments. On systems that use ELF, the @@ -10778,20 +10792,6 @@ there is no need to define this macro in that case. @end defmac -@defmac NO_DOLLAR_IN_LABEL -Define this macro if the assembler does not accept the character -@samp{$} in label names. By default constructors and destructors in -G++ have @samp{$} in the identifiers. If this macro is defined, -@samp{.} is used instead. -@end defmac - -@defmac NO_DOT_IN_LABEL -Define this macro if the assembler does not accept the character -@samp{.} in label names. By default constructors and destructors in G++ -have names that use @samp{.}. If this macro is defined, these names -are rewritten to avoid @samp{.}. -@end defmac - @defmac INSN_SETS_ARE_DELAYED (@var{insn}) Define this macro as a C expression that is nonzero if it is safe for the delay slot scheduler to place instructions in the delay slot of @var{insn},