aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2002-01-19 03:06:55 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2002-01-19 03:06:55 +0000
commit1d690052f818dea19fd407678d19375b3de1253c (patch)
tree57f9b0ff876cce6890a9cbd4f22cfe7d8b273f21 /gcc/config
parent4dd8c0932b7e2561fd5cc1bb95dbb1462b505c08 (diff)
downloadgcc-1d690052f818dea19fd407678d19375b3de1253c.zip
gcc-1d690052f818dea19fd407678d19375b3de1253c.tar.gz
gcc-1d690052f818dea19fd407678d19375b3de1253c.tar.bz2
20020118-1.c: New.
2002-01-18 Aldy Hernandez <aldyh@redhat.com> * gcc.dg/20020118-1.c: New. * tm.texi (STARTING_FRAME_PHASE): Document. * function.c (assign_stack_local_1): Adjust x_frame_offset with STARTING_FRAME_PHASE. (STARTING_FRAME_PHASE): New. (instantiate_virtual_regs): Check saneness of STARTING_FRAME_PHASE. * rs6000.h (STARTING_FRAME_PHASE): New. From-SVN: r49006
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/rs6000/rs6000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 589dc9d..d00b7ed 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -1399,6 +1399,11 @@ typedef struct rs6000_stack {
+ RS6000_VARARGS_AREA \
+ RS6000_SAVE_AREA)
+/* How far (in bytes) is the start of the frame from the stack
+ alignment. For ppc 32bits, the stack is aligned to 128 bits, but
+ the frame starts 64bits later. */
+#define STARTING_FRAME_PHASE (TARGET_32BIT ? 8 : 0)
+
/* Offset from the stack pointer register to an item dynamically
allocated on the stack, e.g., by `alloca'.