mep.c (mep_asm_init_sections): Add section flags and ..vliw directive to VLIW sections.
authorDJ Delorie <dj@redhat.com>
Fri, 31 Jul 2009 01:36:12 +0000 (21:36 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 31 Jul 2009 01:36:12 +0000 (21:36 -0400)
* config/mep/mep.c (mep_asm_init_sections): Add section flags and
.vliw directive to VLIW sections.

From-SVN: r150288

gcc/ChangeLog
gcc/config/mep/mep.c

index a37f9dc2350b88bf74cb7dceb531f716da761953..4fa79079b7b7dd855cf21fbc52bb6440efbbf30c 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-30  DJ Delorie  <dj@redhat.com>
+
+       * config/mep/mep.c (mep_asm_init_sections): Add section flags and
+       .vliw directive to VLIW sections.
+
 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
index dd229ee05d38c0a3cf2bad1692ec1ea9a89480cf..3d2dd1dbcd5b6e4d93d1a4c4a51eba1607439b36 100644 (file)
@@ -7360,16 +7360,16 @@ mep_asm_init_sections (void)
                           "\t.section .srodata,\"a\"");
 
   vtext_section
-    = get_unnamed_section (0, output_section_asm_op,
-                          "\t.section .vtext,\"ax\"");
+    = get_unnamed_section (SECTION_CODE | SECTION_MEP_VLIW, output_section_asm_op,
+                          "\t.section .vtext,\"axv\"\n\t.vliw");
 
   vftext_section
-    = get_unnamed_section (0, output_section_asm_op,
-                          "\t.section .vftext,\"ax\"");
+    = get_unnamed_section (SECTION_CODE | SECTION_MEP_VLIW, output_section_asm_op,
+                          "\t.section .vftext,\"axv\"\t.vliw");
 
   ftext_section
-    = get_unnamed_section (0, output_section_asm_op,
-                          "\t.section .ftext,\"ax\"");
+    = get_unnamed_section (SECTION_CODE, output_section_asm_op,
+                          "\t.section .ftext,\"ax\"\t.core");
 
 }