mn10300.c (mn10300_encode_section_info): Call default_encode_section_info.
authorNick Clifton <nickc@redhat.com>
Fri, 6 Jul 2012 10:05:15 +0000 (10:05 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 6 Jul 2012 10:05:15 +0000 (10:05 +0000)
* config/mn10300/mn10300.c (mn10300_encode_section_info): Call
default_encode_section_info.

From-SVN: r189316

gcc/ChangeLog
gcc/config/mn10300/mn10300.c

index d6d932b4799c1c38bdcc870570badae9bc2a42d1..834f4eb3bec9a3b2b4198081bf030774bcc1453e 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.c (mn10300_encode_section_info): Call
+       default_encode_section_info.
+
 2012-07-06  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/53811
index 5b9f0699469af2a14b1da6a6c167ca4540335be1..c93eff9840aa2bc1df84c543073564985be1bdbc 100644 (file)
@@ -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;