summaryrefslogtreecommitdiff
path: root/gcc/ginclude/varargs.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-08-13 22:19:33 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-08-13 22:19:33 +0000
commit966001652ddef97f66ddaa9662e371363e5d9f3c (patch)
tree5d0d1295d68d16bc2996dc92a487227d789669a5 /gcc/ginclude/varargs.h
parent57f920e1557f8ab24e024739775f77e0b46d5310 (diff)
downloadgcc-966001652ddef97f66ddaa9662e371363e5d9f3c.tar.gz
Add ppc svr4 calling sequence support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10213 138bc75d-0d04-0410-961f-82ee72b054a4
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 17098054780..691759e99ac 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 */