mips.h (STACK_BOUNDARY): Allow specific targets to override.
authorJeffrey A Law <law@cygnus.com>
Tue, 21 Apr 1998 15:00:15 +0000 (15:00 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 21 Apr 1998 15:00:15 +0000 (09:00 -0600)
        * mips.h (STACK_BOUNDARY): Allow specific targets to override.
        (MIPS_STACK_ALIGN): Similarly.

From-SVN: r19358

gcc/ChangeLog
gcc/config/mips/mips.h

index 4d1586dd01a34a1000440dbd8ab11606584aada1..683d7d5cc0ea7c7622b3eb9aa052025dc371266c 100644 (file)
@@ -6,6 +6,9 @@ Tue Apr 21 16:36:01 1998  John Carr  <jfc@mit.edu>
 
 Tue Apr 21 12:05:32 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * mips.h (STACK_BOUNDARY): Allow specific targets to override.
+       (MIPS_STACK_ALIGN): Similarly.
+
        * c-common.c (type_for_mode): Handle TI types.
        * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
        (init_decl_processing): Handle TI types.
index 8e535616097607cf3e505e1e1bdbfd46cd3228a2..57e6f4890d63d9864c21a2c25ad172488cac9426 100644 (file)
@@ -2238,7 +2238,9 @@ extern struct mips_frame_info current_frame_info;
 #define OUTGOING_REG_PARM_STACK_SPACE
 
 /* Align stack frames on 64 bits (Double Word ).  */
+#ifndef STACK_BOUNDARY
 #define STACK_BOUNDARY 64
+#endif
 
 /* Make sure 4 words are always allocated on the stack.  */
 
@@ -2476,8 +2478,9 @@ typedef struct mips_args {
   || (regno == (GP_REG_FIRST + 31) && regs_ever_live[GP_REG_FIRST + 31]))
 
 /* ALIGN FRAMES on double word boundaries */
-
-#define MIPS_STACK_ALIGN(LOC) (((LOC)+7) & ~7)
+#ifndef MIPS_STACK_ALIGN
+#define MIPS_STACK_ALIGN(LOC) (((LOC) + 7) & ~7)
+#endif
 
 \f
 /* Output assembler code to FILE to increment profiler label # LABELNO