From 73d953ec37fcdabe17a50456c459eb8ddae04406 Mon Sep 17 00:00:00 2001 From: rth Date: Sun, 3 Mar 2002 04:57:02 +0000 Subject: [PATCH] * 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.h | 3 +-- 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 + * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies + to functions as well. + +2002-03-02 Richard Henderson + * 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) -- 2.11.4.GIT