summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 04:57:02 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-03 04:57:02 +0000
commit73d953ec37fcdabe17a50456c459eb8ddae04406 (patch)
treefefbbfeeced159cfaab01aa19f7e0a6d4e56c262
parentfd64a4b7c022681cf17d747c587d78c09f755c2e (diff)
downloadppe42-gcc-73d953ec37fcdabe17a50456c459eb8ddae04406.tar.gz
ppe42-gcc-73d953ec37fcdabe17a50456c459eb8ddae04406.zip
* config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
to functions as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50239 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 410c2cf4e8b..5e6504db49b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-03-02 Richard Henderson <rth@redhat.com>
+ * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
+ to functions as well.
+
+2002-03-02 Richard Henderson <rth@redhat.com>
+
* attribs.c (handle_alias_attribute): Don't call assemble_alias.
(handle_visibility_attribute): Don't call assemble_visibility.
* toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 1a3d9abe58e..b83b22fe806 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -2264,8 +2264,7 @@ do { \
SYMBOL_REF_FLAG (XEXP (rtl, 0)) \
= (TREE_CODE_CLASS (TREE_CODE (DECL)) != 'd' \
|| ! TREE_PUBLIC (DECL) \
- || (TREE_CODE (DECL) == VAR_DECL \
- && MODULE_LOCAL_P (DECL))); \
+ || MODULE_LOCAL_P (DECL)); \
} \
} \
} while (0)
OpenPOWER on IntegriCloud