From: Richard Kenner Date: Sun, 13 Aug 1995 22:19:33 +0000 (-0400) Subject: Add ppc svr4 calling sequence support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c125e915295a70d4c88c93ea1a2f1eb1b437bfb;p=gcc.git Add ppc svr4 calling sequence support. From-SVN: r10213 --- diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index b8d85e8f729..2af83589c17 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -38,6 +38,9 @@ #if defined (__H8300__) || defined (__H8300H__) #include #else +#if defined (__PPC__) && defined (_CALL_SYSV) +#include +#else /* Define __gnuc_va_list. */ @@ -90,6 +93,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ #endif /* big-endian */ #endif /* _STDARG_H */ +#endif /* not powerpc with V.4 calling sequence */ #endif /* not h8300 */ #endif /* not alpha */ #endif /* not i960 */ diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index 17098054780..691759e99ac 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -36,6 +36,9 @@ #if defined (__H8300__) || defined (__H8300H__) #include #else +#if defined (__PPC__) && defined (_CALL_SYSV) +#include +#else #ifdef __NeXT__ @@ -108,6 +111,7 @@ typedef void *__gnuc_va_list; ? sizeof (TYPE) : __va_rounded_size (TYPE)))))) #endif /* big-endian */ +#endif /* not powerpc with V.4 calling sequence */ #endif /* not h8300 */ #endif /* not alpha */ #endif /* not i960 */