aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorMichael Hayes <m.hayes@elec.canterbury.ac.nz>1998-09-19 21:27:09 +0000
committerJeff Law <law@gcc.gnu.org>1998-09-19 15:27:09 -0600
commit9949a9f27a1ab86a8ca8dd4d4d0b1299b5de7d0c (patch)
tree85a43956442b22bf90234c9b9b01184c62fd256c /gcc/ginclude
parentb9d6c60d55a3a0aabdc2507172ee3c033e090785 (diff)
downloadgcc-9949a9f27a1ab86a8ca8dd4d4d0b1299b5de7d0c.zip
gcc-9949a9f27a1ab86a8ca8dd4d4d0b1299b5de7d0c.tar.gz
gcc-9949a9f27a1ab86a8ca8dd4d4d0b1299b5de7d0c.tar.bz2
varargs.h: Add support for C4x target.
* ginclude/varargs.h: Add support for C4x target. * ginclude/stdargs.h: Likewise. From-SVN: r22483
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/stdarg.h4
-rw-r--r--gcc/ginclude/varargs.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index 24f3383..c9c6156 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -59,6 +59,9 @@
#ifdef __v850__
#include "va-v850.h"
#else
+#if defined (_TMS320C4x) || defined (_TMS320C3x)
+#include <va-c4x.h>
+#else
/* Define __gnuc_va_list. */
@@ -115,6 +118,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif /* _STDARG_H */
+#endif /* not TMS320C3x or TMS320C4x */
#endif /* not v850 */
#endif /* not mn10200 */
#endif /* not mn10300 */
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index 410d06a..d170407 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -57,6 +57,9 @@
#ifdef __v850__
#include "va-v850.h"
#else
+#if defined (_TMS320C4x) || defined (_TMS320C3x)
+#include <va-c4x.h>
+#else
#ifdef __NeXT__
@@ -132,6 +135,7 @@ typedef void *__gnuc_va_list;
/* Copy __gnuc_va_list into another variable of this type. */
#define __va_copy(dest, src) (dest) = (src)
+#endif /* not TMS320C3x or TMS320C4x */
#endif /* not v850 */
#endif /* not mn10200 */
#endif /* not mn10300 */