From ce57746769bfa0d19afef76e07960fd6bf86264d Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Fri, 15 Oct 1999 04:42:15 +0000 Subject: [PATCH] * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare. From-SVN: r29997 --- gcc/ChangeLog | 4 ++++ gcc/config/c4x/c4x.h | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2acb906..5f144b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 15 17:40:11 1999 Michael Hayes + + * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare. + Fri Oct 15 17:27:17 1999 Michael Hayes * config/c4x/c4x.c (dst_operand): New. diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index 3a4e13f..5644ee2 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -1127,9 +1127,11 @@ extern struct rtx_def *c4x_function_arg(); /* Varargs handling. */ +extern void c4x_va_start (); #define EXPAND_BUILTIN_VA_START(stdarg, valist, nextarg) \ c4x_va_start (stdarg, valist, nextarg) +extern struct rtx_def *c4x_va_arg (); #define EXPAND_BUILTIN_VA_ARG(valist, type) \ c4x_va_arg (valist, type) @@ -1142,7 +1144,9 @@ extern struct rtx_def *c4x_function_arg(); /* Generating Code for Profiling */ /* Note that the generated assembly uses the ^ operator to load the 16 - MSBs of the address. This is not supported by the TI assembler. */ + MSBs of the address. This is not supported by the TI assembler. + The FUNCTION profiler needs a function mcount which gets passed + a pointer to the LABELNO. */ #define FUNCTION_PROFILER(FILE, LABELNO) \ if (! TARGET_C3X) \ @@ -1563,7 +1567,7 @@ extern struct rtx_def *c4x_gen_compare_reg (); #define HAVE_POST_MODIFY_DISP 1 /* The number of insns that can be packed into a single opcode. */ -#define MULTIPACK_INSNS 2 +#define PACK_INSNS 2 /* Recognize any constant value that is a valid address. We could allow arbitrary constant addresses in the large memory -- 2.7.4