aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/varargs.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-08-13 18:19:33 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-08-13 18:19:33 -0400
commit0c125e915295a70d4c88c93ea1a2f1eb1b437bfb (patch)
tree5d0d1295d68d16bc2996dc92a487227d789669a5 /gcc/ginclude/varargs.h
parent325eeacad1822e44dac31023bebd66385f38b7b8 (diff)
downloadgcc-0c125e915295a70d4c88c93ea1a2f1eb1b437bfb.zip
gcc-0c125e915295a70d4c88c93ea1a2f1eb1b437bfb.tar.gz
gcc-0c125e915295a70d4c88c93ea1a2f1eb1b437bfb.tar.bz2
Add ppc svr4 calling sequence support.
From-SVN: r10213
Diffstat (limited to 'gcc/ginclude/varargs.h')
-rw-r--r--gcc/ginclude/varargs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index 1709805..691759e 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -36,6 +36,9 @@
#if defined (__H8300__) || defined (__H8300H__)
#include <va-h8300.h>
#else
+#if defined (__PPC__) && defined (_CALL_SYSV)
+#include <va-ppc.h>
+#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 */