mips.c (mips_in_small_data_p): Don't handle TARGET_MIPS16 specially.
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 14 Jul 2003 20:36:28 +0000 (20:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 14 Jul 2003 20:36:28 +0000 (20:36 +0000)
* config/mips/mips.c (mips_in_small_data_p): Don't handle
TARGET_MIPS16 specially.

From-SVN: r69356

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

index 05801cd8f5027b5fd92a89750a057166ef0535ef..76e3fc11303f276a1b1361e6e5f00fa28f46f408 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_in_small_data_p): Don't handle
+       TARGET_MIPS16 specially.
+
 2003-07-14  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Use
index 037e88707b34140960c8f0e6fe5238d1ad6d8b0f..bb52f5ccd911bbea4502d1124b59c59a22c5e619 100644 (file)
@@ -7924,16 +7924,6 @@ mips_in_small_data_p (decl)
          && (!DECL_INITIAL (decl) || TREE_CONSTANT (DECL_INITIAL (decl))))
        return false;
     }
-  else if (TARGET_MIPS16)
-    {
-      /* Alhough it seems strange to have separate rules for -mips16,
-        this behaviour is long-standing.  */
-      if (TREE_PUBLIC (decl)
-         && (DECL_COMMON (decl)
-             || DECL_ONE_ONLY (decl)
-             || DECL_WEAK (decl)))
-       return false;
-    }
 
   size = int_size_in_bytes (TREE_TYPE (decl));
   return (size > 0 && size <= mips_section_threshold);