summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-01 00:55:14 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-01 00:55:14 +0000
commite54b69e7e4ed815c0f8b549b85897c544e3a9210 (patch)
tree4ad0109dcd8b2c6d8e635143de3e5a13cc10a7bd /gcc/config/mips
parentc04df53f59b953c94e5d937ed94ed213fc78fb33 (diff)
downloadgcc-e54b69e7e4ed815c0f8b549b85897c544e3a9210.tar.gz
Don't emit the unused counter word and label when profiling.
* config/mips/mips.h (NO_PROFILE_COUNTERS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95716 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 495b8190f4b..2fa84216a1f 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -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. */