diff options
author | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-11 07:48:33 +0000 |
---|---|---|
committer | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-11 07:48:33 +0000 |
commit | 65722ae26ebc22789952dfe8641b10cd483b8c19 (patch) | |
tree | d52a7c11f3a6ea86cd22bfffd1ff7463a7791df1 /gcc | |
parent | bdb135dc4990d5ab925fd2fb9575211283571e75 (diff) | |
download | gcc-65722ae26ebc22789952dfe8641b10cd483b8c19.tar.gz |
* config/bfin/bfin.h (FUNCTION_PROFILER): Don't use LABELNO.
(NO_PROFILE_COUNTERS): Define as 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118686 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.h | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 693ee507ed5..142c0eca4be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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>: diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 6f270ce3c62..bd4d9c2b548 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -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]) |