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]

[PATCH] Add soft frame pointer pseudo on ppc{32,64} and prepare for (optional) FRAME_GROWS_DOWNWARD


Hi!

This patch adds soft frame pointer on ppc{32,64}, so that
FRAME_GROWS_DOWNWARD can be implemented and prepares the code
so that just changing FRAME_GROWS_DOWNWARD definition can
be used to select between upward and downward growing frame.
When the soft frame pointer is eliminated, 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).

	Jakub

Attachment: d-ssp-5
Description: Text document


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