This is the mail archive of the gcc-help@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: Modifying prolouge function in gcc


SandeepThorat <sathorat2003@yahoo.com> writes:

>         i want to make some modification to prolouge(& epilouge) function of
> gcc compiler. I m using version 4.1.0. 
> 
> Can anybody tel me out- which file contain these functions, How to make
> changes & how to recompile it to take effect.

For most targets the prologue is generated by the expander named
"prologue" in the config/CPU/CPU.md file.  Similarly for the epilogue.

You also need to consider whether the config/CPU/CPU.c file defines
TARGET_ASM_FUNCTION_PROLOGUE and TARGET_ASM_FUNCTION_EPILOGUE.

Ian


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