aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2001-08-12 01:46:15 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-08-12 01:46:15 +0000
commit31cdd4996b4223793a65643fcbf69163c3623258 (patch)
tree4a0e1181985ae01e6097206b29b38dff92c54a52 /gcc/doc/tm.texi
parent2b2202656c555a659103f4ed7e140c5784613f33 (diff)
downloadgcc-31cdd4996b4223793a65643fcbf69163c3623258.zip
gcc-31cdd4996b4223793a65643fcbf69163c3623258.tar.gz
gcc-31cdd4996b4223793a65643fcbf69163c3623258.tar.bz2
defaults.h: Define PREFERRED_STACK_BOUNDARY to STACK_BOUNDARY if not already defined.
* defaults.h: Define PREFERRED_STACK_BOUNDARY to STACK_BOUNDARY if not already defined. * calls.c, function.c, reload1.c, explow.c: Don't default PREFERRED_STACK_BOUNDARY. Remove all #if/#ifdef on PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY. * explow.c (allocate_dynamic_stack_space): Change unsafe #if to run-time test. * doc/tm.texi: Document that STACK_BOUNDARY is required; clarify difference between it and PREFERRED_STACK_BOUNDARY. From-SVN: r44814
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r--gcc/doc/tm.texi19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 0de3768..60fc2d3 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -1015,18 +1015,19 @@ size of an integer.
@findex STACK_BOUNDARY
@item STACK_BOUNDARY
-Define this macro if there is a guaranteed alignment for the stack
-pointer on this machine. The definition is a C expression
-for the desired alignment (measured in bits). This value is used as a
-default if @code{PREFERRED_STACK_BOUNDARY} is not defined.
+Define this macro to the minimum alignment enforced by hardware for the
+stack pointer on this machine. The definition is a C expression for the
+desired alignment (measured in bits). This value is used as a default
+if @code{PREFERRED_STACK_BOUNDARY} is not defined. On most machines,
+this should be the same as @code{PARM_BOUNDARY}.
@findex PREFERRED_STACK_BOUNDARY
@item PREFERRED_STACK_BOUNDARY
-Define this macro if you wish to preserve a certain alignment for
-the stack pointer. The definition is a C expression
-for the desired alignment (measured in bits). If @code{STACK_BOUNDARY} is
-also defined, this macro must evaluate to a value equal to or larger
-than @code{STACK_BOUNDARY}.
+Define this macro if you wish to preserve a certain alignment for the
+stack pointer, greater than what the hardware enforces. The definition
+is a C expression for the desired alignment (measured in bits). This
+macro must evaluate to a value equal to or larger than
+@code{STACK_BOUNDARY}.
@findex FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN
@item FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN