This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Group static constructors and destructors in specific subsections


> On Thu, 14 Oct 2010, Jan Hubicka wrote:
> 
> > 	* doc/tm.texi.in (STARTUP_EXECUTED_TEXT_SECTION_NAME,
> > 	EXIT_EXECUTED_TEXT_SECTION_NAME): Document
> 
> Unless you really need target macros, could you please create hooks 
> instead?  There's at least one hook giving a section name already 
> (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION).

I've just copied what existing HOT/UNLIKELY_EXECUTED macros does.  I can switch them to hooks
all at once i guess.

Honza
> 
> -- 
> Joseph S. Myers
> joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]