From 7238ce3ab6d98a83420384dac32a7726c895481e Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 11 Mar 1994 11:39:52 -0800 Subject: [PATCH] (STARTING_FRAME_OFFSET): Depend on LONG_DOUBLE_TYPE_SIZE. From-SVN: r6747 --- gcc/config/sparc/sparc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index a033564860e..3a915f1f9d5 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. -- 2.30.2