Coldfire Frame pointers....

Paul Breed Paul@rasdoc.com
Sun May 9 22:58:00 GMT 1999


I have one function that is part of an RTOS task switcher,
I need to force it to either always have, or always not have a frame pointer.

The simpleist solution is to put it in a file by itself and turn off
optimization for that one file. (That creates a framepointer)

This solution seems less than optimum.

In doing some debugging I discovered that the contents of the function
body effect weither or not the function gets a frame pointer.

As I need to know the stack frame size for this function...
for an assembly language task switching call...

Is there any magic that I can add to the source file to force it to always 
have a frame pointer?



Paul


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list