diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-09-14 19:36:29 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-09-14 19:36:29 +0000 |
commit | a878826f5bb714d59f72e37deed9143cc04b451c (patch) | |
tree | 8606fad051a04174aa2dfa102f30761f5f2b6df7 | |
parent | 76e149b6f2ff8f4e08edf985711e6c3b0b6d44c6 (diff) |
Provide a LOCAL_ALIGNMENT() macro, as on other strict alignment architectures.
-rw-r--r-- | gnu/gcc/gcc/config/mips/mips.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/config/mips/mips.h b/gnu/gcc/gcc/config/mips/mips.h index f1080fc05d7..4d7884a8e4b 100644 --- a/gnu/gcc/gcc/config/mips/mips.h +++ b/gnu/gcc/gcc/config/mips/mips.h @@ -1128,6 +1128,8 @@ extern const struct mips_rtx_cost_data *mips_cost; || TREE_CODE (TYPE) == UNION_TYPE \ || TREE_CODE (TYPE) == RECORD_TYPE)) ? BITS_PER_WORD : (ALIGN)) +/* Make local arrays of chars word-aligned for the same reasons. */ +#define LOCAL_ALIGNMENT(TYPE, ALIGN) DATA_ALIGNMENT (TYPE, ALIGN) #define PAD_VARARGS_DOWN \ (FUNCTION_ARG_PADDING (TYPE_MODE (type), type) == downward) |