Group static constructors and destructors in specific subsections
Richard Henderson
rth@redhat.com
Thu Oct 14 21:12:00 GMT 2010
On 10/14/2010 01:47 PM, Joseph S. Myers wrote:
> 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).
>
Should we be returning section NAMES at all?
We have a nicely modular section object. It would seem
we should make more use of that.
r~
More information about the Gcc-patches
mailing list