]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
mips.h (FRAME_GROWS_DOWNWARD, [...]): Define new macros.
authorAdam Nemet <nemet@gcc.gnu.org>
Thu, 30 Apr 2009 22:42:58 +0000 (22:42 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Thu, 30 Apr 2009 22:42:58 +0000 (22:42 +0000)
commitba6adec4e641941e6381108fdc39c8b8f85b1941
treea2fbab0c0d8cccb4ef750f9172ebccc21227f0f4
parent794f21f97ed798b58ba05b19d37f4520080c2203
mips.h (FRAME_GROWS_DOWNWARD, [...]): Define new macros.

* 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.

From-SVN: r147024
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h