This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC-4.0.2 20050811: should GCC consider inlining functions in between different sections?
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Etienne Lorrain <etienne_lorrain at yahoo dot fr>
- Cc: gcc at gcc dot gnu dot org, Richard Guenther <richard dot guenther at gmail dot com>
- Date: Mon, 15 Aug 2005 21:49:48 +0200
- Subject: Re: GCC-4.0.2 20050811: should GCC consider inlining functions in between different sections?
- References: <20050812120551.89295.qmail@web26902.mail.ukl.yahoo.com>
The question is in fact: what is a section for GCC? Is it just a way
to
group functions together to improve memory cache efficiency; or is the
GCC user authorised to use sections to forbid access to some functions
at link time?
For user-declared ("attribute") sections, GCC just outputs
the necessary assembler magic, and that's it. Anything else
is handled by your binary format tools, if at all.
Segher