From b4d5791b0b254aa1ded194d23db0fb65a1647cb0 Mon Sep 17 00:00:00 2001 From: nickc Date: Fri, 6 Jul 2012 10:05:15 +0000 Subject: [PATCH] * config/mn10300/mn10300.c (mn10300_encode_section_info): Call default_encode_section_info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189316 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/mn10300/mn10300.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d6d932b..834f4eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-07-06 Nick Clifton + + * config/mn10300/mn10300.c (mn10300_encode_section_info): Call + default_encode_section_info. + 2012-07-06 Uros Bizjak PR target/53811 diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 5b9f069..c93eff9 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -2468,12 +2468,15 @@ mn10300_rtx_costs (rtx x, int code, int outer_code, int opno ATTRIBUTE_UNUSED, may access it using GOTOFF instead of GOT. */ static void -mn10300_encode_section_info (tree decl, rtx rtl, int first ATTRIBUTE_UNUSED) +mn10300_encode_section_info (tree decl, rtx rtl, int first) { rtx symbol; + default_encode_section_info (decl, rtl, first); + if (! MEM_P (rtl)) return; + symbol = XEXP (rtl, 0); if (GET_CODE (symbol) != SYMBOL_REF) return; -- 2.7.4