From: Jeff Sturm Date: Sat, 15 Jun 2002 01:20:03 +0000 (+0000) Subject: * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. X-Git-Tag: releases/gcc-3.3.0~4315 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8773135d94b76e9c8aedddbc2a572737bcb5780e;p=thirdparty%2Fgcc.git * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. From-SVN: r54637 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 880285a44400..d94145907864 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-14 Jeff Sturm + + * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. + 2002-06-14 Steve Ellcey * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 58f3b696a356..b27cea071f57 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1961,7 +1961,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