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: [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.


r~


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