re PR target/34734 ([avr] attribute((progmem)) not handled properly in C++)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 29 Jun 2011 07:57:25 +0000 (07:57 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 29 Jun 2011 07:57:25 +0000 (07:57 +0000)
commit946c8b23ddf4ab7cc6af92c5a58b36814af3ecac
tree51d6e45470246d7525f6abd38e9cc6a4d020bfb0
parent9a63dee43dc3415c872f8087c9ef4ea7cb68208b
re PR target/34734 ([avr] attribute((progmem)) not handled properly in C++)

PR target/34734
* config/avr/avr.c (avr_handle_progmem_attribute): Move warning
about uninitialized data attributed 'progmem' from here...
(avr_encode_section_info): ...to this new function.
(TARGET_ENCODE_SECTION_INFO): New define.
(avr_section_type_flags): For data in ".progmem.data", remove
section flag SECTION_WRITE.

From-SVN: r175621
gcc/ChangeLog
gcc/config/avr/avr.c