]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
authorJeff Sturm <jsturm@one-point.com>
Sat, 15 Jun 2002 14:14:50 +0000 (14:14 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Sat, 15 Jun 2002 14:14:50 +0000 (07:14 -0700)
2002-06-14  Jeff Sturm  <jsturm@one-point.com>

* config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
SPARC_STACK_BIAS.

From-SVN: r54646

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

index a7a67e26ffb92e73572a0cd2679cc9f59e721d9d..276dbea76229edc55ba36c28bb15aea63bb65aab 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-14  Jeff Sturm  <jsturm@one-point.com>
+
+       * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add
+       SPARC_STACK_BIAS.
+
 2002-06-14  Eric Botcazou  <ebotcazou@multimania.com>
 
        * loop.c (check_final_value): Use v->always_executed
index 7821537ccce5228807a5d2056f55259dc4e3dff0..fa90afa0216079904d1f14e3288fd4494463afe7 100644 (file)
@@ -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