mips.h (STACK_BOUNDARY): Allow specific targets to override.

* mips.h (STACK_BOUNDARY): Allow specific targets to override.
        (MIPS_STACK_ALIGN): Similarly.

From-SVN: r19358
This commit is contained in:
Jeffrey A Law 1998-04-21 15:00:15 +00:00 committed by Jeff Law
parent d09c938561
commit d1c1757292
2 changed files with 8 additions and 2 deletions

View 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) 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-common.c (type_for_mode): Handle TI types.
* c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define. * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
(init_decl_processing): Handle TI types. (init_decl_processing): Handle TI types.

View File

@ -2238,7 +2238,9 @@ extern struct mips_frame_info current_frame_info;
#define OUTGOING_REG_PARM_STACK_SPACE #define OUTGOING_REG_PARM_STACK_SPACE
/* Align stack frames on 64 bits (Double Word ). */ /* Align stack frames on 64 bits (Double Word ). */
#ifndef STACK_BOUNDARY
#define STACK_BOUNDARY 64 #define STACK_BOUNDARY 64
#endif
/* Make sure 4 words are always allocated on the stack. */ /* 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])) || (regno == (GP_REG_FIRST + 31) && regs_ever_live[GP_REG_FIRST + 31]))
/* ALIGN FRAMES on double word boundaries */ /* ALIGN FRAMES on double word boundaries */
#ifndef MIPS_STACK_ALIGN
#define MIPS_STACK_ALIGN(LOC) (((LOC)+7) & ~7) #define MIPS_STACK_ALIGN(LOC) (((LOC) + 7) & ~7)
#endif
/* Output assembler code to FILE to increment profiler label # LABELNO /* Output assembler code to FILE to increment profiler label # LABELNO