From c4d1c9eb27080cd9cee30a8665a0284e5ac6a8b8 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Fri, 31 May 1996 12:13:05 -0700 Subject: [PATCH] (va_start): Add -mabi=n32 support. From-SVN: r12136 --- gcc/ginclude/va-mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ginclude/va-mips.h b/gcc/ginclude/va-mips.h index 3cf1c920af5..7841f255aa1 100644 --- a/gcc/ginclude/va-mips.h +++ b/gcc/ginclude/va-mips.h @@ -55,7 +55,7 @@ typedef char * __gnuc_va_list; #define va_dcl int __builtin_va_alist; __va_ellipsis #endif /* Need alternate code for _MIPS_SIM_ABI64. */ -#if defined(_MIPS_SIM) && (_MIPS_SIM == _MIPS_SIM_ABI64) +#if defined(_MIPS_SIM) && (_MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32) #define va_start(__AP) \ (__AP = (__gnuc_va_list) __builtin_next_arg () \ + (__builtin_args_info (2) >= 8 ? -8 : 0))