Commit 6cd4a764 by Richard Henderson Committed by Richard Henderson

mcore.c (mcore_encode_section_info): Don't set SYMBOL_REF_FLAG.

        * config/mcore/mcore.c (mcore_encode_section_info): Don't set
        SYMBOL_REF_FLAG.

From-SVN: r65732
parent 89e6b702
2003-04-17 Richard Henderson <rth@redhat.com> 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. * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
* config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New. * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New.
......
...@@ -3468,16 +3468,6 @@ mcore_encode_section_info (decl, first) ...@@ -3468,16 +3468,6 @@ mcore_encode_section_info (decl, first)
tree decl; tree decl;
int first ATTRIBUTE_UNUSED; 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 /* Mark the decl so we can tell from the rtl whether the object is
dllexport'd or dllimport'd. */ dllexport'd or dllimport'd. */
if (mcore_dllexport_p (decl)) if (mcore_dllexport_p (decl))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment