diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 410c2cf..5e6504d 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 1a3d9ab..b83b22f 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) |