This is the mail archive of the
mailing list for the GCC project.
Re: [cfg-branch] function sections
> On Fri, Dec 21, 2001 at 04:54:51PM +0100, Jan Hubicka wrote:
> > You my directly winding the .text.* names to varasm.c?
> Do like EH_FRAME_SECTION_NAME and provide an overridable default
> in defaults.h. Use named_section_flags to switch sections.
> > Isn't the .x.y elf specific behaviour or something similar?
> No. Anyone who sets targetm.have_named_sections supports
> arbitrary section names.
What about targets that don't? I guess it still can be profitable to
use gas subsection feature. Do we have some generic interface to emit
subsections or we want to give up the feature on such targets?
(does some such targets interest us? As long as I can remember NetBSD
do use a.out)