From: Jeff Sturm Date: Sat, 15 Jun 2002 14:14:50 +0000 (+0000) Subject: sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. X-Git-Tag: releases/gcc-3.1.1~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d85ed0e858fa4961c1773849779277f69c9b71d8;p=thirdparty%2Fgcc.git 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 --- 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