aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-02-04 21:37:14 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-02-04 21:37:14 +0000
commit79109502a02948f16653b44b434b8b4ef8aebd54 (patch)
tree195c0fd66c89932727c4fbdee2639390d46176e9 /gcc
parente62a59871767d246693d358b9f402128a9802a39 (diff)
downloadgcc-79109502a02948f16653b44b434b8b4ef8aebd54.zip
gcc-79109502a02948f16653b44b434b8b4ef8aebd54.tar.gz
gcc-79109502a02948f16653b44b434b8b4ef8aebd54.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pa/pa.h7
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index be1174f..a3aa6be 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
+ * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
+ (BIGGEST_ALIGNMENT): Change to 128.
+
+2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
* pa32-linux.h (LINK_COMMAND_SPEC): Define.
2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index d12a927..6c865a2 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) \