]> git.ipfire.org Git - thirdparty/gcc.git/commit
* config/mips/mips.h (FRAME_GROWS_DOWNWARD,
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Apr 2009 22:42:58 +0000 (22:42 +0000)
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Apr 2009 22:42:58 +0000 (22:42 +0000)
commitf9eddbcf9362be50d58bd7c3b9187cbe9890b399
treea2fbab0c0d8cccb4ef750f9172ebccc21227f0f4
parent67b0f2ed90c90cab821c080577ab3774d5cec975
* config/mips/mips.h (FRAME_GROWS_DOWNWARD,
MIPS_GP_SAVE_AREA_SIZE): Define new macros.
(STARTING_FRAME_OFFSET): Return 0 if FRAME_GROWS_DOWNWARD.  Use
MIPS_GP_SAVE_AREA_SIZE.
* config/mips/mips.c (struct mips_frame_info): Update comment
before arg_pointer_offset and hard_frame_pointer_offset.
(mips_compute_frame_info): Update diagram before function: to
correctly use stack_pointer_rtx for fp_sp_offset and gp_sp_offset, to
indicate the position of frame_pointer_rtx with -fstack-protector and
to show args_size.  Don't allocate cprestore area for leaf functions
if FRAME_GROWS_DOWNWARD.  Use MIPS_GP_SAVE_AREA_SIZE to set
cprestore_size.
(mips_initial_elimination_offset): Update for FRAME_GROWS_DOWNWARD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147024 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h