m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32 for ColdFire targets.

gcc/
	* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32
	for ColdFire targets.

From-SVN: r120965
This commit is contained in:
Richard Sandiford 2007-01-19 13:49:06 +00:00 committed by Richard Sandiford
parent 835b4008a3
commit aaacff326f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-01-19 Richard Sandiford <richard@codesourcery.com>
* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32
for ColdFire targets.
2007-01-19 Nathan Sidwell <nathan@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>

View File

@ -284,6 +284,8 @@ Boston, MA 02110-1301, USA. */
#define STACK_BOUNDARY 16
#define FUNCTION_BOUNDARY 16
#define EMPTY_FIELD_BOUNDARY 16
/* ColdFire strongly prefers a 32-bit aligned stack. */
#define PREFERRED_STACK_BOUNDARY (TARGET_COLDFIRE ? 32 : 16)
/* No data type wants to be aligned rounder than this.
Most published ABIs say that ints should be aligned on 16 bit