pa.c (compute_frame_size): Round frame according to STACK_BOUNDARY rather than a hardwired value.

* pa.c (compute_frame_size): Round frame according to
        STACK_BOUNDARY rather than a hardwired value.

From-SVN: r28132
This commit is contained in:
Jeffrey A Law 1999-07-16 22:40:39 +00:00 committed by Jeff Law
parent cb16fe9f9b
commit b3292eb0cf
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
* pa.c (compute_frame_size): Round frame according to
STACK_BOUNDARY rather than a hardwired value.
* pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
* configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead

View File

@ -2579,7 +2579,7 @@ compute_frame_size (size, fregs_live)
fsize += current_function_outgoing_args_size;
if (! leaf_function_p () || fsize)
fsize += 32;
return (fsize + 63) & ~63;
return (fsize + STACK_BOUNDARY - 1) & ~(STACK_BOUNDARY - 1);
}
rtx hp_profile_label_rtx;