avr.c (avr_asm_init_sections): Remove setup of progmem_swtable_section.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Thu, 16 Jun 2016 16:50:40 +0000 (16:50 +0000)
committerDenis Chertykov <denisc@gcc.gnu.org>
Thu, 16 Jun 2016 16:50:40 +0000 (19:50 +0300)
commit2d761a3733c10868e8ca8d81e846a1940c5e48a2
tree88ea0d64f37292a69aaac4ab9fb186b99e4c4cd1
parentd3606ee3ea6a8a30844f997aac61b4a1ecd30242
avr.c (avr_asm_init_sections): Remove setup of progmem_swtable_section.

gcc/ChangeLog:
        * config/avr/avr.c (avr_asm_init_sections): Remove setup of
progmem_swtable_section.
        (progmem_swtable_section): Remove.
        (avr_asm_function_rodata_section): Remove.
        (TARGET_ASM_FUNCTION_RODATA_SECTION): Remove.
        * config/avr/avr.h (JUMP_TABLES_IN_TEXT_SECTION: Define to 1.

gcc/testsuite/ChangeLog:
        * gcc.target/avr/pr71151-1.c: New test.
        * gcc.target/avr/pr71151-2.c: New test.
        * gcc.target/avr/pr71151-3.c: New test.
        * gcc.target/avr/pr71151-4.c: New test.
        * gcc.target/avr/pr71151-5.c: New test.
        * gcc.target/avr/pr71151-6.c: New test.
        * gcc.target/avr/pr71151-7.c: New test.
        * gcc.target/avr/pr71151-8.c: New test.
        * gcc.target/avr/pr71151-common.h: New test.

From-SVN: r237536
13 files changed:
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/pr71151-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/avr/pr71151-common.h [new file with mode: 0644]