summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-08-06 21:47:05 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-08-06 21:47:05 +0000
commit9be96edc4adebc08ec71815d4a6365c34da55303 (patch)
tree2e4061c7ae7d4b52384009dcfd7c5ef89872c639 /gcc/config/rs6000/rs6000.c
parent6b2c9d4e81adc9d2b7a7119b93f542a85f8ca1a1 (diff)
downloadgcc-9be96edc4adebc08ec71815d4a6365c34da55303.tar.gz
Make STACK_BOUNDARY always 64 bits
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12599 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/rs6000.c')
-rw-r--r--gcc/config/rs6000/rs6000.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 8a5188a787d..00ec109f87f 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -2994,6 +2994,10 @@ rs6000_makes_calls ()
old SP. To support calls through pointers, we also allocate a
fixed slot to store the TOC, -8 off the old SP. */
+#ifndef ABI_STACK_BOUNDARY
+#define ABI_STACK_BOUNDARY STACK_BOUNDARY
+#endif
+
rs6000_stack_t *
rs6000_stack_info ()
{
@@ -3108,7 +3112,7 @@ rs6000_stack_info ()
+ info_ptr->varargs_size
+ info_ptr->fixed_size);
- info_ptr->total_size = ALIGN (total_raw_size, STACK_BOUNDARY / BITS_PER_UNIT);
+ info_ptr->total_size = ALIGN (total_raw_size, ABI_STACK_BOUNDARY / BITS_PER_UNIT);
/* Determine if we need to allocate any stack frame.
For AIX We need to push the stack if a frame pointer is needed (because