From d85ed0e858fa4961c1773849779277f69c9b71d8 Mon Sep 17 00:00:00 2001 From: Jeff Sturm Date: Sat, 15 Jun 2002 14:14:50 +0000 Subject: [PATCH] sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. 2002-06-14 Jeff Sturm * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. From-SVN: r54646 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7a67e26ffb9..276dbea76229 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-06-14 Jeff Sturm + + * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add + SPARC_STACK_BIAS. + 2002-06-14 Eric Botcazou * loop.c (check_final_value): Use v->always_executed diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 7821537ccce5..fa90afa02160 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1958,7 +1958,8 @@ do { \ return an rtx for the address of the word in the frame that holds the dynamic chain--the previous frame's address. ??? -mflat support? */ -#define DYNAMIC_CHAIN_ADDRESS(frame) plus_constant (frame, 14 * UNITS_PER_WORD) +#define DYNAMIC_CHAIN_ADDRESS(frame) \ + plus_constant (frame, 14 * UNITS_PER_WORD + SPARC_STACK_BIAS) /* The return address isn't on the stack, it is in a register, so we can't access it from the current frame pointer. We can access it from the -- 2.47.2