bfin.h (FUNCTION_PROFILER): Don't use LABELNO.

* config/bfin/bfin.h (FUNCTION_PROFILER): Don't use LABELNO.
	(NO_PROFILE_COUNTERS): Define as 1.

From-SVN: r118686
This commit is contained in:
Jie Zhang 2006-11-11 07:48:33 +00:00 committed by Jie Zhang
parent 85914552c7
commit 5601414805
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2006-11-11 Jie Zhang <jie.zhang@analog.com>
* config/bfin/bfin.h (FUNCTION_PROFILER): Don't use LABELNO.
(NO_PROFILE_COUNTERS): Define as 1.
2006-11-10 Roger Sayle <roger@eyesopen.com>
* fold-const.c (operand_equal_p) <INTEGER_CST, REAL_CST, VECTOR_CST>:

View File

@ -1210,12 +1210,14 @@ do { \
#define ASM_COMMENT_START "//"
#define FUNCTION_PROFILER(FILE, LABELNO) \
do {\
fprintf (FILE, "\tP1.l =LP$%d; P1.h =LP$%d; call mcount;\n", \
LABELNO, LABELNO);\
#define FUNCTION_PROFILER(FILE, LABELNO) \
do { \
fprintf (FILE, "\tCALL __mcount;\n"); \
} while(0)
#undef NO_PROFILE_COUNTERS
#define NO_PROFILE_COUNTERS 1
#define ASM_OUTPUT_REG_PUSH(FILE, REGNO) fprintf (FILE, "[SP--] = %s;\n", reg_names[REGNO])
#define ASM_OUTPUT_REG_POP(FILE, REGNO) fprintf (FILE, "%s = [SP++];\n", reg_names[REGNO])