--- gcc/config/a29k.h 2018/04/24 17:51:34 1.1.1.1 +++ gcc/config/a29k.h 2018/04/24 17:54:15 1.1.1.2 @@ -99,7 +99,7 @@ extern int target_flags; #define TARGET_DEFAULT 3 -/* Define this to change the optimizations peformed by default. */ +/* Define this to change the optimizations performed by default. */ #define OPTIMIZATION_OPTIONS(LEVEL) \ { \ @@ -141,7 +141,7 @@ extern int target_flags; for them. Might as well be consistent with bytes. */ #define WORDS_BIG_ENDIAN 1 -/* number of bits in an addressible storage unit */ +/* number of bits in an addressable storage unit */ #define BITS_PER_UNIT 8 /* Width in bits of a "word", which is the contents of a machine register. @@ -172,6 +172,9 @@ extern int target_flags; /* Every structure's size must be a multiple of this. */ #define STRUCTURE_SIZE_BOUNDARY 8 +/* 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 32 @@ -186,14 +189,14 @@ extern int target_flags; && TYPE_MODE (TREE_TYPE (TYPE)) == QImode \ && (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN)) -/* Define this if move instructions will actually fail to work +/* Set this non-zero if move instructions will actually fail to work when given unaligned data. */ -/* #define STRICT_ALIGNMENT */ +#define STRICT_ALIGNMENT 0 -/* Define this if unaligned move instructions are extremely slow. +/* Set this non-zero if unaligned move instructions are extremely slow. On the 29k, they trap. */ -#define SLOW_UNALIGNED_ACCESS +#define SLOW_UNALIGNED_ACCESS 1 /* Standard register usage. */ @@ -1273,15 +1276,15 @@ extern char *a29k_function_name; /* Output before instructions. */ -#define TEXT_SECTION_ASM_OP "\t.text" +#define TEXT_SECTION_ASM_OP ".text" /* Output before read-only data. */ -#define READONLY_DATA_SECTION_ASM_OP "\t.use .lit" +#define READONLY_DATA_SECTION_ASM_OP ".use .lit" /* Output before writable data. */ -#define DATA_SECTION_ASM_OP "\t.data" +#define DATA_SECTION_ASM_OP ".data" /* Define an extra section for read-only data, a routine to enter it, and indicate that it is for read-only data. */