This is the mail archive of the gcc@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: GCC-4.0.2 20050811: should GCC consider inlining functions in between different sections?


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



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