One-way stack support

John Tobey john.tobey@gmail.com
Fri Nov 19 12:54:00 GMT 2010


On Thu, Nov 18, 2010 at 5:40 PM, Ian Lance Taylor <iant@google.com> wrote:
> I don't think that part would be all that hard.  gcc requires the stack
> pointer to be valid on function entry, but it doesn't particularly care
> what happens on function exit.  Naturally most current epilogue routines
> restore the stack; you would just have to change the epilogue code to do
> something else.  Of course the caller would have to always use a frame
> pointer, but that is already supported so that gcc works when stack
> space is allocated dynamically.

Ian,

Thanks, I feel reassured.  By the way, thanks for your wonderful
series on linkers.

Cheers,
John



More information about the Gcc-help mailing list