This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: text section naming
- To: Travis Moulton <Travis dot Moulton at motorola dot com>
- Subject: Re: text section naming
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 06 Dec 2000 18:08:39 -0200
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20001206.19591700@brighton.wm.sps.mot.com>
On Dec 6, 2000, Travis Moulton <Travis.Moulton@motorola.com> wrote:
> Is it supposed to be possible to change TEXT_SECTION_ASM_OP when
> running the gcc (version 2.95.2 for 68k in my case), or is that only
> changeable when building gcc?
Only when building it. But you can change the text section on a
per-function basis, using the ``section'' attribute (see ``Function
attributes'' in the GCC manual.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me