summaryrefslogtreecommitdiff
path: root/gcc/ginclude/varargs.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-09 22:21:04 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-09-09 22:21:04 +0000
commit6dac5483bb1d63245864f0d90c49820730a772b1 (patch)
tree71fefd9a0a4f91412d2e9ca1538cff6cb95ea5d8 /gcc/ginclude/varargs.h
parentc517e9be9b6b1821461fe566d9fcfb327f769199 (diff)
downloadgcc-6dac5483bb1d63245864f0d90c49820730a772b1.tar.gz
Add port done awhile ago for the ARC cpu.
* arc/arc.h: New file. * arc/arc.c: New file. * arc/arc.md: New file. * arc/initfini.c: New file. * arc/lib1funcs.asm: New file. * arc/t-arc: New file. * arc/xm-arc.h: New file. * ginclude/va-arc.h: New file. * ginclude/stdarg.h: Include va-arc.h ifdef __arc__. * ginclude/varargs.h: Likewise. * Makefile.in (USER_H): Add va-arc.h. * configure.in (arc-*-elf*): Recognize. * longlong.h: Add ARC support. Mostly so I can test changes in snapshot scripts. * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx. when clearing non-BLKmode data. Fixes sparc problem. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15198 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 dbe97354aba..cfb5f2308c7 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -39,6 +39,9 @@
#if defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32))
#include "va-ppc.h"
#else
+#ifdef __arc__
+#include "va-arc.h"
+#else
#ifdef __M32R__
#include "va-m32r.h"
#else
@@ -134,6 +137,7 @@ typedef void *__gnuc_va_list;
#endif /* not mn10300 */
#endif /* not sh */
#endif /* not m32r */
+#endif /* not arc */
#endif /* not powerpc with V.4 calling sequence */
#endif /* not h8300 */
#endif /* not alpha */