Commit fde6858e by Denis Chertykov Committed by Denis Chertykov

re PR target/21284 (AVR target: switch/case jump table is placed in .data…

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
parent 0d341a6a
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment