From 2ba3d2a9fc577c7627866f564a8419a6cee48c98 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 6 Jul 2012 10:05:15 +0000 Subject: mn10300.c (mn10300_encode_section_info): Call default_encode_section_info. * config/mn10300/mn10300.c (mn10300_encode_section_info): Call default_encode_section_info. From-SVN: r189316 --- gcc/ChangeLog | 5 +++++ gcc/config/mn10300/mn10300.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'gcc') 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; -- cgit v1.1