mcore.c (mcore_encode_section_info): Don't set SYMBOL_REF_FLAG.
authorRichard Henderson <rth@redhat.com>
Thu, 17 Apr 2003 08:57:13 +0000 (01:57 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 17 Apr 2003 08:57:13 +0000 (01:57 -0700)
        * config/mcore/mcore.c (mcore_encode_section_info): Don't set
        SYMBOL_REF_FLAG.

From-SVN: r65732

gcc/ChangeLog
gcc/config/mcore/mcore.c

index a2dfb444910d769183bba96ec5d97a86dcbcd61e..4a7fbce0585fe0af348a9b204a45ef4bd2c8aab4 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-17  Richard Henderson  <rth@redhat.com>
+
+       * config/mcore/mcore.c (mcore_encode_section_info): Don't set
+       SYMBOL_REF_FLAG.
+
 2003-04-17  Richard Henderson  <rth@redhat.com>
 
        * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
index 865cc30ebee7aa7b333e4741bf26318c93f01e7a..e437f381bd69479c995e1f6e40dc6d4d1d279ac2 100644 (file)
@@ -3468,16 +3468,6 @@ mcore_encode_section_info (decl, first)
      tree decl;
      int first ATTRIBUTE_UNUSED;
 {
-  /* This bit is copied from arm.h.  */
-  if (optimize > 0
-      && TREE_CONSTANT (decl)
-      && (!flag_writable_strings || TREE_CODE (decl) != STRING_CST))
-    {
-      rtx rtl = (TREE_CODE_CLASS (TREE_CODE (decl)) != 'd'
-                 ? TREE_CST_RTL (decl) : DECL_RTL (decl));
-      SYMBOL_REF_FLAG (XEXP (rtl, 0)) = 1;
-    }
-
   /* Mark the decl so we can tell from the rtl whether the object is
      dllexport'd or dllimport'd.  */
   if (mcore_dllexport_p (decl))