Re: Modifying prolouge function in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SandeepThorat <sathorat2003@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux