aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-10-07 19:48:23 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-10-07 19:48:23 +0000
commita594a19c2a352d53de842809678db0171e99878b (patch)
treec53a7e4a83374635bd98d065b41f34892f94f167 /gcc/calls.c
parentda61a073057aea7ae3441f077bfd3a8d822e4d08 (diff)
downloadgcc-a594a19c2a352d53de842809678db0171e99878b.zip
gcc-a594a19c2a352d53de842809678db0171e99878b.tar.gz
gcc-a594a19c2a352d53de842809678db0171e99878b.tar.bz2
function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into account when aligning arguments.
2003-10-07 Geoffrey Keating <geoffk@apple.com> * function.c (pad_to_arg_alignment): Take STACK_POINTER_OFFSET into account when aligning arguments. * calls.c (STACK_POINTER_OFFSET): Move default from here ... * defaults.h (STACK_POINTER_OFFSET): ... to here. * config/sparc/sparc.h (STACK_BOUNDARY): Add comment about how it's wrong when TARGET_ARCH64 && TARGET_STACK_BIAS. (SPARC_STACK_BOUNDARY_HACK): Define. * config/rs6000/rs6000.c (function_arg): On non-SVR4 systems, arrange for vector parameters to varargs functions to be passed in both memory and GPRs when appropriate. (rs6000_va_arg): Vector arguments passed in memory are 16-byte aligned. Index: testsuite/ChangeLog 2003-10-07 Geoffrey Keating <geoffk@apple.com> * gcc.dg/darwin-abi-2.c: New file. * gcc.c-torture/execute/va-arg-24.c: New file. From-SVN: r72199
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index aa64980..18df59a 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -41,10 +41,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "cgraph.h"
#include "except.h"
-#ifndef STACK_POINTER_OFFSET
-#define STACK_POINTER_OFFSET 0
-#endif
-
/* Like PREFERRED_STACK_BOUNDARY but in units of bytes, not bits. */
#define STACK_BYTES (PREFERRED_STACK_BOUNDARY / BITS_PER_UNIT)