From 15fef9307a7813686625a0a1c233a6257e28d22e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 27 Sep 2009 18:56:47 +0000 Subject: 2009-09-27 Joel Sherrill * rtems/score/cpu.h: Define CPU_STRUCTURE_ALIGNMENT to be on a 4 byte boundary. --- cpukit/score/cpu/m68k/ChangeLog | 5 +++++ cpukit/score/cpu/m68k/rtems/score/cpu.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'cpukit/score') diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog index ff5fc4da85..47aea017a7 100644 --- a/cpukit/score/cpu/m68k/ChangeLog +++ b/cpukit/score/cpu/m68k/ChangeLog @@ -1,3 +1,8 @@ +2009-09-27 Joel Sherrill + + * rtems/score/cpu.h: Define CPU_STRUCTURE_ALIGNMENT to be on a 4 byte + boundary. + 2009-08-24 Sebastian Huber * rtems/score/cpu.h: Define M68K_FP_STATE_SIZE also if used in diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h index 672e233a7f..2cd8df062b 100644 --- a/cpukit/score/cpu/m68k/rtems/score/cpu.h +++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h @@ -106,7 +106,7 @@ extern "C" { #define CPU_PROVIDES_IDLE_THREAD_BODY TRUE #define CPU_STACK_GROWS_UP FALSE -#define CPU_STRUCTURE_ALIGNMENT +#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned (4))) /* * Define what is required to specify how the network to host conversion -- cgit v1.2.3