Don't emit the unused counter word and label when profiling.

* config/mips/mips.h (NO_PROFILE_COUNTERS): Define.

From-SVN: r95716
This commit is contained in:
James E Wilson 2005-03-01 00:55:14 +00:00 committed by Jim Wilson
parent 2a4a783030
commit f50c57bad1
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-02-28 James E Wilson <wilson@specifixinc.com>
* config/mips/mips.h (NO_PROFILE_COUNTERS): Define.
2005-02-28 Joseph S. Myers <joseph@codesourcery.com>
PR c/20245

View file

@ -2332,6 +2332,11 @@ typedef struct mips_args {
fprintf (FILE, "\t.set\tat\n"); \
}
/* No mips port has ever used the profiler counter word, so don't emit it
or the label for it. */
#define NO_PROFILE_COUNTERS 1
/* Define this macro if the code for function profiling should come
before the function prologue. Normally, the profiling code comes
after. */