avr.h (progmem_section): Remove Declaration.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 5 Sep 2011 08:30:17 +0000 (08:30 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 5 Sep 2011 08:30:17 +0000 (08:30 +0000)
commitc149e48765862535842cf968dc10667038988606
treed79f739e3ccb34cee41d9735eb835d94b72a9001
parentc5ceeb87632560467c6e4350a0fa5742ea338ae6
avr.h (progmem_section): Remove Declaration.

* 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.

From-SVN: r178525
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/config/avr/elf.h