From: Nick Clifton Date: Fri, 6 Jul 2012 10:09:28 +0000 (+0000) Subject: mn10300.c (mn10300_encode_section_info): Call default_encode_section_info. X-Git-Tag: releases/gcc-4.6.4~457 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caf98624eab9306555d52f39c1e9d82f65bf65d7;p=thirdparty%2Fgcc.git 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: r189318 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 815552cf27e0..2e49406f5b7b 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-04 Richard Guenther PR middle-end/53433 diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 0b68f2d3e858..e3c417e46c1e 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -2505,12 +2505,15 @@ mn10300_rtx_costs (rtx x, int code, int outer_code, int *ptotal, bool speed) 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;