diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/arm/arm.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1180ac7..aa3774b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-01-23 Will Cohen <wcohen@redhat.com> + + * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently + defined. + 2002-01-23 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 6f05569..46f938e 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -1581,12 +1581,14 @@ typedef struct } #endif +#ifndef THUMB_FUNCTION_PROFILER #define THUMB_FUNCTION_PROFILER(STREAM, LABELNO) \ { \ fprintf (STREAM, "\tmov\tip, lr\n"); \ fprintf (STREAM, "\tbl\tmcount\n"); \ fprintf (STREAM, "\t.word\tLP%d\n", LABELNO); \ } +#endif #define FUNCTION_PROFILER(STREAM, LABELNO) \ if (TARGET_ARM) \ |
