This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[mep] fix VLIW section flags


Committed.

	* config/mep/mep.c (mep_asm_init_sections): Add section flags and
	.vliw directive to VLIW sections.

Index: config/mep/mep.c
===================================================================
--- config/mep/mep.c	(revision 150287)
+++ config/mep/mep.c	(working copy)
@@ -7357,20 +7357,20 @@ mep_asm_init_sections (void)
 
   srodata_section
     = get_unnamed_section (0, output_section_asm_op,
 			   "\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");
 
 }
 
 #include "gt-mep.h"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]