diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-22 20:48:17 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-22 20:48:17 +0000 |
commit | 09d643de92a4908dbec1b42ff25d16029c05c0d8 (patch) | |
tree | 280f92046d77423e3ce20946aa8709bf8087e17c /gcc/config/rs6000/aix.h | |
parent | c16dd5f59d0603adf316d8679c6d2315e1b5b288 (diff) | |
download | gcc-09d643de92a4908dbec1b42ff25d16029c05c0d8.tar.gz |
* config/rs6000/aix.h (STACK_BOUNDARY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110095 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix.h')
-rw-r--r-- | gcc/config/rs6000/aix.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index 908cdc51494..e7e2dbd7420 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 |