From 5cd983a6736ce3d381a7399917af35eee9137062 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Fri, 17 May 2002 11:47:46 +0000 Subject: [PATCH] sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P when encoding visibility into SYMBOL_REF_FLAG. * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P when encoding visibility into SYMBOL_REF_FLAG. From-SVN: r53558 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.h | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87e1bace65d..f628ff87b57 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-17 kaz Kojima + + * config/sh/sh.h (ENCODE_SECTION_INFO): Consider MODULE_LOCAL_P + when encoding visibility into SYMBOL_REF_FLAG. + 2002-05-17 Richard Sandiford * expr.c (force_operand): Fix reversed move. diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 18c3b48d0f4..28ea02b946d 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -2685,6 +2685,7 @@ do \ \ SYMBOL_REF_FLAG (XEXP (rtl, 0)) = \ (TREE_CODE_CLASS (TREE_CODE (DECL)) != 'd' \ + || MODULE_LOCAL_P (DECL) \ || ! TREE_PUBLIC (DECL)); \ } \ if (TARGET_SH5) \ -- 2.30.2