How to make gcc psABI conformant

Daniel Jacobowitz drow@false.org
Wed Oct 10 13:10:00 GMT 2007


On Wed, Oct 10, 2007 at 06:05:01AM -0700, H.J. Lu wrote:
> > Isn't that STACK_BOUNDARY?  If not, since you seem to understand the
> > difference between these variables, could you improve the
> > documentation?
> 
> STACK_BOUNDARY is enforced by hardware. INCOMING_STACK_BOUNDARY is
> specified by psABI. INCOMING_STACK_BOUNDARY >= STACK_BOUNDARY.

Great, a third one...

> That is we save the original stack pointer in the frame pointer and
> align the stack in prologue. It will touch frondend, middleend and
> backend. Will this scheme work for PowerPC?

Probably not.  I don't think we have the freedom to abuse the frame
pointer that way.  But the PowerPC case really ought to be simple,
modulo correct debug info.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gcc-patches mailing list