Don't emit the unused counter word and label when profiling.
authorJames E Wilson <wilson@specifixinc.com>
Tue, 1 Mar 2005 00:55:14 +0000 (00:55 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 1 Mar 2005 00:55:14 +0000 (16:55 -0800)
* config/mips/mips.h (NO_PROFILE_COUNTERS): Define.

From-SVN: r95716

gcc/ChangeLog
gcc/config/mips/mips.h

index db53428e1e290be5460ab44a09c95a085ed890de..a05ab312ee1b19665c4b208fb138b3ac904a15e7 100644 (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
index 495b8190f4bf82cea62cdaf1dce8077294c53335..2fa84216a1fc6e1f2c7d91693f209f6e7c5b85d4 100644 (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.  */