This is the mail archive of the gcc-patches@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: [PATCH] Add soft frame pointer pseudo on ppc{32,64} and prepare for (optional) FRAME_GROWS_DOWNWARD


On Fri, Jun 24, 2005 at 06:41:56PM -0400, Jakub Jelinek wrote:
> ... the ABI mandated
> stack layout is kept, all that FRAME_GROWS_DOWNWARD changes
> is the order of local variables on the stack (and in some
> cases FRAME_GROWS_DOWNWARD can result in additional 8 bytes
> of padding, as the variable layout code needs to know
> alignment before whole size of the frame is known).

So the ABI mandates that the saved registers are above the local
stack frame area?  Otherwise I can't think of any reason why you
couldn't move them lower, which would preclude STARTING_FRAME_OFFSET
from being a constant.

I'll have to let an rs6000 maintainer review this patch.


r~


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