arm.h (THUMB_FUNCTION_PROFILER): Define if not currently defined.
authorWill Cohen <wcohen@redhat.com>
Wed, 23 Jan 2002 14:46:43 +0000 (14:46 +0000)
committerWilliam Cohen <wcohen@gcc.gnu.org>
Wed, 23 Jan 2002 14:46:43 +0000 (14:46 +0000)
* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
defined.

From-SVN: r49140

gcc/ChangeLog
gcc/config/arm/arm.h

index e1180ac..aa3774b 100644 (file)
@@ -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
index 6f05569..46f938e 100644 (file)
@@ -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)                                      \