OSDN Git Service

* config/mips/mips.c (mips_in_small_data_p): Don't handle
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jul 2003 20:36:28 +0000 (20:36 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jul 2003 20:36:28 +0000 (20:36 +0000)
TARGET_MIPS16 specially.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69356 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 05801cd..76e3fc1 100644 (file)
@@ -1,5 +1,10 @@
 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
        mips_output_aligned_bss.
        * config/mips/linux.h: Likewise.
index 037e887..bb52f5c 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);