aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-04-17 01:57:13 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-04-17 01:57:13 -0700
commit6cd4a76401d216061b1b3d6cd30d7f924b5ee321 (patch)
tree31f954091bd6f8b507401548e8fdeaeddf3f1b25 /gcc/config
parent89e6b70242b405c0df144abbe4a822fc376840fa (diff)
downloadgcc-6cd4a76401d216061b1b3d6cd30d7f924b5ee321.zip
gcc-6cd4a76401d216061b1b3d6cd30d7f924b5ee321.tar.gz
gcc-6cd4a76401d216061b1b3d6cd30d7f924b5ee321.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/mcore/mcore.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index 865cc30..e437f38 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -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))