OSDN Git Service

* config/avr/avr.c (avr_encode_section_info): Dispatch to
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jun 2011 11:17:50 +0000 (11:17 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jun 2011 11:17:50 +0000 (11:17 +0000)
default_encode_section_info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175629 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/avr/avr.c

index 5e665e5..407a40f 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);
 }