This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[mep] fix VLIW section flags
- From: DJ Delorie <dj at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Jul 2009 22:13:23 -0400
- Subject: [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"