* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
authorJeff Sturm <jsturm@one-point.com>
Sat, 15 Jun 2002 01:20:03 +0000 (01:20 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Sat, 15 Jun 2002 01:20:03 +0000 (18:20 -0700)
From-SVN: r54637

gcc/ChangeLog
gcc/config/sparc/sparc.h

index 880285a4440037424da54303092fc64aebdca795..d94145907864426f97fb00a8b5ac3e24b6a14f3a 100644 (file)
@@ -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
index 58f3b696a356fbe7ab74488512af2dd936b072ce..b27cea071f57a7e79aa2fd73df415e927770ef04 100644 (file)
@@ -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