This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Group static constructors and destructors in specific subsections, take 2
On Wed, Nov 10, 2010 at 06:04:12PM +0100, Jan Hubicka wrote:
>
> Makefile now has this funny message of copying tm.texi.in into tm.texi. It seems that you copied
> doc/tm.texi.in into doc/tm.texi while you need to copy tm.texi.in from your build directory.
>
> Honza
Honza,
Isn't part of the problem due to...
Index: doc/tm.texi
===================================================================
--- doc/tm.texi (revision 166490)
+++ doc/tm.texi (working copy)
@@ -7335,6 +7335,8 @@ macro is not defined, nothing is output
@end defmac
@deftypefn {Target Hook} void TARGET_ASM_NAMED_SECTION (const char *@var{name}, unsigned int @var{flags}, tree @var{decl})
+
+@deftypefn {Target Hook} {section *} TARGET_ASM_FUNCTION_SECTION (tree @var{decl}, enum node_frequency @var{freq}, bool @var{startup}, bool @var{exit})
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{decl}
This change adds a new @deftypefn without adding any text or the closing
@end deftypefn? There could be other issues as well but that doesn't seem
correct.
Jack