mips.c (override_options): Disable hot/cold partitioning for MIPS16.
authorRichard Sandiford <rsandifo@redhat.com>
Sun, 29 Aug 2004 20:36:32 +0000 (20:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 29 Aug 2004 20:36:32 +0000 (20:36 +0000)
* config/mips/mips.c (override_options): Disable hot/cold partitioning
for MIPS16.

From-SVN: r86735

gcc/ChangeLog
gcc/config/mips/mips.c

index 7e081b6bbea7df4554948fd39fe9778107192cee..aeb65caaf98cadad091cbf51294688fa30f8ea96 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 39ea62d53f88b8fd998f773cfca8e273b2f11432..88bed78ea83c8672b18e7186bcb1612b2a018f3b 100644 (file)
@@ -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