diff options
author | James E Wilson <wilson@specifixinc.com> | 2005-03-01 00:55:14 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-02-28 16:55:14 -0800 |
commit | f50c57bad1b053b56fe6b94ae2b425f3f8e9958d (patch) | |
tree | 4ad0109dcd8b2c6d8e635143de3e5a13cc10a7bd | |
parent | 2a4a78303029ec0f3765450a918e5677370d1106 (diff) | |
download | gcc-f50c57bad1b053b56fe6b94ae2b425f3f8e9958d.zip gcc-f50c57bad1b053b56fe6b94ae2b425f3f8e9958d.tar.gz gcc-f50c57bad1b053b56fe6b94ae2b425f3f8e9958d.tar.bz2 |
Don't emit the unused counter word and label when profiling.
* config/mips/mips.h (NO_PROFILE_COUNTERS): Define.
From-SVN: r95716
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db53428..a05ab31 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 495b819..2fa8421 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. */ |