From 31cdd4996b4223793a65643fcbf69163c3623258 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sun, 12 Aug 2001 01:46:15 +0000 Subject: 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 --- gcc/doc/tm.texi | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'gcc/doc') 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 -- cgit v1.1