diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 20:36:32 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 20:36:32 +0000 |
| commit | 61fd88eda7f41de7b3dcb896b2579644c6ae7cba (patch) | |
| tree | d8d4b47f1325c3daee15e29f8d15f79454647978 | |
| parent | 94ef1e6a3830dae6e8c502ffee081fff6c9ff45e (diff) | |
| download | ppe42-gcc-61fd88eda7f41de7b3dcb896b2579644c6ae7cba.tar.gz ppe42-gcc-61fd88eda7f41de7b3dcb896b2579644c6ae7cba.zip | |
* config/mips/mips.c (override_options): Disable hot/cold partitioning
for MIPS16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86735 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/mips/mips.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e081b6bbea..aeb65caaf98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-08-29 Richard Sandiford <rsandifo@redhat.com> + * config/mips/mips.c (override_options): Disable hot/cold partitioning + for MIPS16. + +2004-08-29 Richard Sandiford <rsandifo@redhat.com> + * config/mips/mips.h (mips_builtins, mips_cmp_choice): Delete. (mips_function_type): Move to mips.c. * config/mips/mips.c (mips_builtin_type): New enum. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 39ea62d53f8..88bed78ea83 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -4180,6 +4180,10 @@ override_options (void) increase register pressure. */ flag_schedule_insns = 0; + /* Don't do hot/cold partitioning. The constant layout code expects + the whole function to be in a single section. */ + flag_reorder_blocks_and_partition = 0; + /* Silently disable -mexplicit-relocs since it doesn't apply to mips16 code. Even so, it would overly pedantic to warn about "-mips16 -mexplicit-relocs", especially given that |

