re PR target/43746 (-fmerge-constants and -fmerge-all-constants don't work at AVR...
commiteb1dcdffa760f1bac0a9e95697be7f95c9485c60
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 14 Jul 2011 07:49:14 +0000 (14 07:49 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 14 Jul 2011 07:49:14 +0000 (14 07:49 +0000)
tree1c21566fb30d00cb79d178deb684bbba64e6424f
parentd31fb329c86b90b3f9f219f2ce186bf2f56c6c5a
re PR target/43746 (-fmerge-constants and -fmerge-all-constants don't work at AVR target)

gcc/
PR target/43746
* config/avr/elf.h (TARGET_ASM_SELECT_SECTION): Remove,
i.e. use default_elf_select_section.
(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Remove.
(READONLY_DATA_SECTION_ASM_OP): Remove.
(TARGET_ASM_NAMED_SECTION): Move from here...
* config/avr/avr.c: ...to here.
(avr_asm_init_sections): Set unnamed callback of
readonly_data_section.
(avr_asm_named_section): Make static.

testsuite/
PR target/43746
* gcc.dg/array-quals-1.c: Don't xfail on AVR.

From-SVN: r176262
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/elf.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/array-quals-1.c