arm.h (THUMB_FUNCTION_PROFILER): Define if not currently defined.

* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
	defined.

From-SVN: r49140
This commit is contained in:
Will Cohen 2002-01-23 14:46:43 +00:00 committed by William Cohen
parent a98facb0de
commit cf8002d02a
2 changed files with 7 additions and 0 deletions

View 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

View 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) \