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
This commit is contained in:
Richard Henderson 2003-04-17 01:57:13 -07:00 committed by Richard Henderson
parent 89e6b70242
commit 6cd4a76401
2 changed files with 5 additions and 10 deletions

View 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.

View 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))