RFA: hook doc patch (68/112): TARGET_ASM_NAMED_SECTION

Joern Rennecke amylaar@spamcop.net
Sat Jan 16 13:09:00 GMT 2010


-------------- next part --------------
2010-01-15  Joern Rennecke  <amylaar@spamcop.net>

	* tm.texi (TARGET_ASM_NAMED_SECTION): Fix argument list.

Index: tm.texi
===================================================================
--- tm.texi	(revision 155367)
+++ tm.texi	(working copy)
@@ -7183,13 +7227,11 @@ A C statement to output something to the
 macro is not defined, nothing is output for a @samp{#ident} directive.
 @end defmac
 
-@deftypefn {Target Hook} void TARGET_ASM_NAMED_SECTION (const char *@var{name}, unsigned int @var{flags}, unsigned int @var{align})
+@deftypefn {Target Hook} void TARGET_ASM_NAMED_SECTION (const char *@var{name}, unsigned int @var{flags}, tree @var{decl})
 Output assembly directives to switch to section @var{name}.  The section
 should have attributes as specified by @var{flags}, which is a bit mask
-of the @code{SECTION_*} flags defined in @file{output.h}.  If @var{align}
-is nonzero, it contains an alignment in bytes to be used for the section,
-otherwise some target default should be used.  Only targets that must
-specify an alignment within the section directive need pay attention to
-@var{align} -- we will still use @code{ASM_OUTPUT_ALIGN}.
+of the @code{SECTION_*} flags defined in @file{output.h}.  If @var{decl}
+is non-NULL, it is the @code{VAR_DECL} or @code{FUNCTION_DECL} with which
+this section is associated.
 @end deftypefn
 


More information about the Gcc-patches mailing list