]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/21284 (AVR target: switch/case jump table is placed in .data instead...
authorDenis Chertykov <denisc@overta.ru>
Thu, 5 May 2005 15:42:03 +0000 (15:42 +0000)
committerDenis Chertykov <denisc@gcc.gnu.org>
Thu, 5 May 2005 15:42:03 +0000 (19:42 +0400)
PR target/21284
* config/avr/avr.c (avr_output_addr_vec_elt): Use special section
for output.

From-SVN: r99272

gcc/ChangeLog
gcc/config/avr/avr.c

index 00f8a892fbeb4ea0d5daf5618b08c5250ac11d0a..e49b296a7f3376be8e02e0e19af3f6580e00b3fb 100644 (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
index 668d4cc6a2b3124fc8b2c17edafe0594834872fa..0be2f1c32f5a654fa7a4a6586a0709bc719c764e 100644 (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