aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
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/defaults.h
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/defaults.h')
-rw-r--r--gcc/defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 34e9f7b..f2595b0b 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -679,4 +679,8 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define MOVE_MAX_PIECES MOVE_MAX
#endif
+#ifndef STACK_POINTER_OFFSET
+#define STACK_POINTER_OFFSET 0
+#endif
+
#endif /* ! GCC_DEFAULTS_H */