re PR target/21284 (AVR target: switch/case jump table is placed in .data instead of .progmem.gcc_sw_table)

PR target/21284
	* config/avr/avr.c (avr_output_addr_vec_elt): Use special section
	for output.

From-SVN: r99272
This commit is contained in:
Denis Chertykov 2005-05-05 15:42:03 +00:00 committed by Denis Chertykov
parent 0d341a6ae1
commit fde6858e7c
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-05-04 Denis Chertykov <denisc@overta.ru>
PR target/21284
* config/avr/avr.c (avr_output_addr_vec_elt): Use special section
for output.
2005-05-05 Richard Sandiford <rsandifo@redhat.com>
* config.gcc (arm*-wince-pe*, arm-*-pe*, strongarm-*-pe): Add

View file

@ -5869,6 +5869,7 @@ avr_output_bld (rtx operands[], int bit_nr)
void
avr_output_addr_vec_elt (FILE *stream, int value)
{
progmem_section ();
if (AVR_MEGA)
fprintf (stream, "\t.word pm(.L%d)\n", value);
else