diff options
author | Adam Nemet <nemet@gcc.gnu.org> | 2009-04-30 22:42:58 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2009-04-30 22:42:58 +0000 |
commit | ba6adec4e641941e6381108fdc39c8b8f85b1941 (patch) | |
tree | a2fbab0c0d8cccb4ef750f9172ebccc21227f0f4 /gcc/c-objc-common.c | |
parent | 794f21f97ed798b58ba05b19d37f4520080c2203 (diff) | |
download | gcc-ba6adec4e641941e6381108fdc39c8b8f85b1941.zip gcc-ba6adec4e641941e6381108fdc39c8b8f85b1941.tar.gz gcc-ba6adec4e641941e6381108fdc39c8b8f85b1941.tar.bz2 |
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
Diffstat (limited to 'gcc/c-objc-common.c')
0 files changed, 0 insertions, 0 deletions