Commit cf8002d0 by Will Cohen Committed by William Cohen

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
parent a98facb0
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
......
......@@ -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) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment