diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-17 08:57:13 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-17 08:57:13 +0000 |
commit | 290713d73d26daa089b345546ccb97218afb3170 (patch) | |
tree | 31f954091bd6f8b507401548e8fdeaeddf3f1b25 /gcc | |
parent | 5c5d0ae9157a341f7fe8aa59657d6e76d48bd872 (diff) | |
download | gcc-290713d73d26daa089b345546ccb97218afb3170.tar.gz |
* config/mcore/mcore.c (mcore_encode_section_info): Don't set
SYMBOL_REF_FLAG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65732 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mcore/mcore.c | 10 |
2 files changed, 5 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a2dfb444910..4a7fbce0585 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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. * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New. diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index 865cc30ebee..e437f381bd6 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)) |