$OpenBSD: patch-gcc_config_mips_mips_h,v 1.1 2013/01/05 16:51:28 pascal Exp $
--- gcc/config/mips/mips.h.orig	Fri Jan  4 13:39:44 2013
+++ gcc/config/mips/mips.h	Fri Jan  4 13:41:11 2013
@@ -880,6 +880,7 @@ extern const struct mips_rtx_cost_data *mips_cost;
 #define SUBTARGET_CPP_SPEC ""
 #endif
 
+#undef CPP_SPEC
 #define CPP_SPEC "%(subtarget_cpp_spec)"
 
 /* This macro defines names of additional specifications to put in the specs
@@ -1127,6 +1128,8 @@ extern const struct mips_rtx_cost_data *mips_cost;
 	|| TREE_CODE (TYPE) == UNION_TYPE				\
 	|| TREE_CODE (TYPE) == RECORD_TYPE)) ? BITS_PER_WORD : (ALIGN))
 
+/* Make local arrays of chars word-aligned for the same reasons.  */
+#define LOCAL_ALIGNMENT(TYPE, ALIGN) DATA_ALIGNMENT (TYPE, ALIGN)
 
 #define PAD_VARARGS_DOWN \
   (FUNCTION_ARG_PADDING (TYPE_MODE (type), type) == downward)
