avr.c (avr_encode_section_info): Dispatch to default_encode_section_info.
authorGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 29 Jun 2011 11:17:50 +0000 (11:17 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 29 Jun 2011 11:17:50 +0000 (11:17 +0000)
* config/avr/avr.c (avr_encode_section_info): Dispatch to
default_encode_section_info.

From-SVN: r175629

gcc/config/avr/avr.c

index 5e665e5e13ea9c7d0deeadf504981325050b07c1..407a40f8c5edd403eed76653ca4c1e94301d35bc 100644 (file)
@@ -5161,7 +5161,7 @@ avr_section_type_flags (tree decl, const char *name, int reloc)
 /* Implement `TARGET_ENCODE_SECTION_INFO'.  */
 
 static void
-avr_encode_section_info (tree decl, rtx rtl ATTRIBUTE_UNUSED,
+avr_encode_section_info (tree decl, rtx rtl,
                          int new_decl_p)
 {
   /* In avr_handle_progmem_attribute, DECL_INITIAL is not yet
@@ -5177,6 +5177,8 @@ avr_encode_section_info (tree decl, rtx rtl ATTRIBUTE_UNUSED,
                "uninitialized variable %q+D put into "
                "program memory area", decl);
     }
+
+  default_encode_section_info (decl, rtl, new_decl_p);
 }