diff options
author | David Edelsohn <dje@gcc.gnu.org> | 2006-01-22 15:48:17 -0500 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2006-01-22 15:48:17 -0500 |
commit | 4e9d39436e54548bc935f945f4b286f73d91096a (patch) | |
tree | 280f92046d77423e3ce20946aa8709bf8087e17c | |
parent | a27b516f94c73993c7a2311b05f85b2eebf3ecb7 (diff) | |
download | gcc-4e9d39436e54548bc935f945f4b286f73d91096a.zip gcc-4e9d39436e54548bc935f945f4b286f73d91096a.tar.gz gcc-4e9d39436e54548bc935f945f4b286f73d91096a.tar.bz2 |
* config/rs6000/aix.h (STACK_BOUNDARY): Define.
From-SVN: r110095
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/aix.h | 16 |
2 files changed, 15 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c39641..c5f72b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-01-22 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/aix.h (STACK_BOUNDARY): Define. + 2006-01-22 Paul Brook <paul@codesourcery.com> Peter Barada <peter@the-baradas.com> @@ -1352,7 +1356,7 @@ * basic-block.h: Remove the prototype for partition_hot_cold_basic_blocks. -2006-01-16 Rafael Ăvila de EspĂndola <rafael.espindola@gmail.com> +2006-01-16 Rafael Ăvila de EspĂndola <rafael.espindola@gmail.com> * cppspec.c (lang_specific_spec_functions): remove * gcc.c (lookup_spec_function): use static_spec_functions directelly diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index 908cdc5..e7e2dbd 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -33,6 +33,10 @@ /* AIX allows r13 to be used in 32-bit mode. */ #define FIXED_R13 0 +/* 32-bit and 64-bit AIX stack boundary is 128. */ +#undef STACK_BOUNDARY +#define STACK_BOUNDARY 128 + /* AIX does not support Altivec. */ #undef TARGET_ALTIVEC #define TARGET_ALTIVEC 0 @@ -164,12 +168,12 @@ /* AIX increases natural record alignment to doubleword if the first field is an FP double while the FP fields remain word aligned. */ -#define ROUND_TYPE_ALIGN(STRUCT, COMPUTED, SPECIFIED) \ - ((TREE_CODE (STRUCT) == RECORD_TYPE \ - || TREE_CODE (STRUCT) == UNION_TYPE \ - || TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \ - && TARGET_ALIGN_NATURAL == 0 \ - ? rs6000_special_round_type_align (STRUCT, COMPUTED, SPECIFIED) \ +#define ROUND_TYPE_ALIGN(STRUCT, COMPUTED, SPECIFIED) \ + ((TREE_CODE (STRUCT) == RECORD_TYPE \ + || TREE_CODE (STRUCT) == UNION_TYPE \ + || TREE_CODE (STRUCT) == QUAL_UNION_TYPE) \ + && TARGET_ALIGN_NATURAL == 0 \ + ? rs6000_special_round_type_align (STRUCT, COMPUTED, SPECIFIED) \ : MAX ((COMPUTED), (SPECIFIED))) /* The AIX ABI isn't explicit on whether aggregates smaller than a |