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 e1180ac75fafa2a7520f14c712834755798bca22..aa3774b5e7a9abb61ce0552b13e49ab0de2e38e9 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 6f055699f010cd1eaed9df79bac024b3dae937c9..46f938ee3e82d4564b8afa5d7c3d6a2aacea0e2a 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)                                      \