* config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
* config/c4x/c4x.c (c4x_va_start): New function.
From-SVN: r29578
+Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+ * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
+ * config/c4x/c4x.c (c4x_va_start): New function.
+
Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
* genrecog.c (not_both_true): Handle correctly cases when called for
return NULL_RTX;
}
+void
+c4x_va_start (stdarg_p, valist, nextarg)
+ int stdarg_p;
+ tree valist;
+ rtx nextarg;
+{
+ nextarg = plus_constant (nextarg, stdarg_p ? 0 : UNITS_PER_WORD * 2);
+
+ std_expand_builtin_va_start (stdarg_p, valist, nextarg);
+}
+
/* C[34]x arguments grow in weird ways (downwards) that the standard
varargs stuff can't handle. */
/* Varargs handling. */
+#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \
+ c4x_va_start (stdarg, valist, nextarg)
+
#define EXPAND_BUILTIN_VA_ARG(valist, type) \
c4x_va_arg (valist, type)