From 79109502a02948f16653b44b434b8b4ef8aebd54 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Mon, 4 Feb 2002 21:37:14 +0000 Subject: [PATCH] pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. (BIGGEST_ALIGNMENT): Change to 128. From-SVN: r49496 --- gcc/ChangeLog | 5 +++++ gcc/config/pa/pa.h | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be1174fc73d..a3aa6bef553 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-04 John David Anglin + + * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding. + (BIGGEST_ALIGNMENT): Change to 128. + 2002-02-04 John David Anglin * pa32-linux.h (LINK_COMMAND_SPEC): Define. diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index d12a92784d8..6c865a29fda 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -423,6 +423,8 @@ extern int target_flags; but that happens late in the compilation process. */ #define STACK_BOUNDARY (TARGET_64BIT ? 128 : 64) +#define PREFERRED_STACK_BOUNDARY 512 + /* Allocation boundary (in *bits*) for the code of a function. */ #define FUNCTION_BOUNDARY (TARGET_64BIT ? 64 : 32) @@ -435,8 +437,9 @@ extern int target_flags; /* A bitfield declared as `int' forces `int' alignment for the struct. */ #define PCC_BITFIELD_TYPE_MATTERS 1 -/* No data type wants to be aligned rounder than this. */ -#define BIGGEST_ALIGNMENT 64 +/* No data type wants to be aligned rounder than this. This is set + to 128 bits to allow for lock semaphores in the stack frame.*/ +#define BIGGEST_ALIGNMENT 128 /* Get around hp-ux assembler bug, and make strcpy of constants fast. */ #define CONSTANT_ALIGNMENT(CODE, TYPEALIGN) \ -- 2.30.2