mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-13 05:43:45 +08:00
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:
parent
89e6b70242
commit
6cd4a76401
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user