OSDN Git Service

gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2007 13:49:06 +0000 (13:49 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2007 13:49:06 +0000 (13:49 +0000)
* config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32
for ColdFire targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120965 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68k/m68k.h

index e354640..8264687 100644 (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>
 
index c0a3f9e..4f42a5e 100644 (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