From d1c175729269b953c35f6d110b6666fa055db966 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Tue, 21 Apr 1998 15:00:15 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/mips/mips.h | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4d1586dd01a..683d7d5cc0e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -6,6 +6,9 @@ Tue Apr 21 16:36:01 1998 John Carr 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. diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 8e535616097..57e6f4890d6 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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 /* Output assembler code to FILE to increment profiler label # LABELNO