aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-03-11 11:39:52 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-03-11 11:39:52 -0800
commit7238ce3ab6d98a83420384dac32a7726c895481e (patch)
tree72219723a91d0ef37a900ab307fe34d10eb79141 /gcc
parent86be1e79df2ba55b31d0cc3fd8987004eea273d8 (diff)
downloadgcc-7238ce3ab6d98a83420384dac32a7726c895481e.zip
gcc-7238ce3ab6d98a83420384dac32a7726c895481e.tar.gz
gcc-7238ce3ab6d98a83420384dac32a7726c895481e.tar.bz2
(STARTING_FRAME_OFFSET): Depend on LONG_DOUBLE_TYPE_SIZE.
From-SVN: r6747
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/sparc/sparc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index a033564..3a915f1 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -693,8 +693,9 @@ extern char leaf_reg_backmap[];
If FRAME_GROWS_DOWNWARD, this is the offset to the END of the
first local allocated. Otherwise, it is the offset to the BEGINNING
of the first local allocated. */
-/* This is 16 to allow space for one TFmode floating point value. */
-#define STARTING_FRAME_OFFSET (-16)
+/* This allows space for one TFmode floating point value. */
+#define STARTING_FRAME_OFFSET \
+ (-SPARC_STACK_ALIGN (LONG_DOUBLE_TYPE_SIZE / BITS_PER_UNIT))
/* If we generate an insn to push BYTES bytes,
this says how many the stack pointer really advances by.