aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-21 15:00:15 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-21 09:00:15 -0600
commitd1c175729269b953c35f6d110b6666fa055db966 (patch)
tree7fd52cbe0b3634a019b269d5e24bada46c61dd47 /gcc
parentd09c938561f6a1fe3fb6733b14ecc3877fe19d05 (diff)
downloadgcc-d1c175729269b953c35f6d110b6666fa055db966.zip
gcc-d1c175729269b953c35f6d110b6666fa055db966.tar.gz
gcc-d1c175729269b953c35f6d110b6666fa055db966.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/mips/mips.h7
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d1586d..683d7d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 8e53561..57e6f48 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