diff options
author | Jeff Sturm <jsturm@one-point.com> | 2002-06-15 01:20:03 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-06-14 18:20:03 -0700 |
commit | 8773135d94b76e9c8aedddbc2a572737bcb5780e (patch) | |
tree | 00c64e2ea42f931689cdd053862c9ae2f09f0b41 /gcc | |
parent | 893a047c6557e759cc4283b55d48c353ae578c14 (diff) | |
download | gcc-8773135d94b76e9c8aedddbc2a572737bcb5780e.zip gcc-8773135d94b76e9c8aedddbc2a572737bcb5780e.tar.gz gcc-8773135d94b76e9c8aedddbc2a572737bcb5780e.tar.bz2 |
* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
From-SVN: r54637
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 880285a..d941459 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-14 Jeff Sturm <jsturm@one-point.com> + + * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. + 2002-06-14 Steve Ellcey <sje@cup.hp.com> * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 58f3b69..b27cea0 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 |