diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ginclude/stdarg.h | 4 | ||||
-rw-r--r-- | gcc/ginclude/varargs.h | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3664172fc92..7f24eb9bcaf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1998-09-19 Michael Hayes <m.hayes@elec.canterbury.ac.nz> + + * ginclude/varargs.h: Add support for C4x target. + * ginclude/stdargs.h: Likewise. + Sat Sep 19 12:05:09 1998 Richard Henderson <rth@cygnus.com> * alpha.c (alpha_return_addr): SET should be VOIDmode. diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 24f3383198d..c9c61567cd8 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 410d06aac69..d1704079bda 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 */ |