* config/avr/avr.h (progmem_section): Remove Declaration.
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2011 08:30:17 +0000 (08:30 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2011 08:30:17 +0000 (08:30 +0000)
commitc3f18f18fb19e4a49fddfa98834d34dd5509cc46
treed79f739e3ccb34cee41d9735eb835d94b72a9001
parentb213bda0fae118fb6fae17dac2e4eb754e905db6
* config/avr/avr.h (progmem_section): Remove Declaration.
* config/avr/avr.c (progmem_section): Make static and rename to
progmem_swtable_section.
(avr_output_addr_vec_elt): No need to switch sections.
(avr_asm_init_sections): Use output_section_asm_op as section
callback for progmem_swtable_section.
(avr_output_progmem_section_asm_op): Remove Function.
(TARGET_ASM_FUNCTION_RODATA_SECTION): New Define.
(avr_asm_function_rodata_section): New static Function.
* config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Output
alignment 2**1 for jump tables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178525 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/config/avr/elf.h