diff options
Diffstat (limited to 'gcc/config/mips/mips.h')
-rw-r--r-- | gcc/config/mips/mips.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index bd6f1ee..59476db 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2612,6 +2612,22 @@ typedef struct mips_args { #endif +/* Define the `__builtin_va_list' type for the ABI. */ +#define BUILD_VA_LIST_TYPE(VALIST) \ + (VALIST) = mips_build_va_list () + +/* Implement `va_start' for varargs and stdarg. */ +#define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \ + mips_va_start (stdarg, valist, nextarg) + +/* Implement `va_arg'. */ +#define EXPAND_BUILTIN_VA_ARG(valist, type) \ + mips_va_arg (valist, type) + +extern union tree_node *mips_build_va_list (); +extern void mips_va_start (); +extern struct rtx_def *mips_va_arg (); + /* Output assembler code to FILE to increment profiler label # LABELNO for profiling a function entry. */ |