aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <gjl@gcc.gnu.org>2011-06-29 11:17:50 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2011-06-29 11:17:50 +0000
commitd17fc17507d53317fe3931e247f0ef048f7bf2fb (patch)
tree989649b7bef86ca646664d9249725823b0b1a1fb /gcc
parent875a6c6ee3d132d41faf3d9c4ddba31cacbe6dd5 (diff)
downloadgcc-d17fc17507d53317fe3931e247f0ef048f7bf2fb.zip
gcc-d17fc17507d53317fe3931e247f0ef048f7bf2fb.tar.gz
gcc-d17fc17507d53317fe3931e247f0ef048f7bf2fb.tar.bz2
avr.c (avr_encode_section_info): Dispatch to default_encode_section_info.
* config/avr/avr.c (avr_encode_section_info): Dispatch to default_encode_section_info. From-SVN: r175629
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/avr/avr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index 5e665e5..407a40f 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -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);
}