From: DJ Delorie Date: Fri, 31 Jul 2009 01:36:12 +0000 (-0400) Subject: mep.c (mep_asm_init_sections): Add section flags and ..vliw directive to VLIW sections. X-Git-Tag: releases/gcc-4.5.0~4254 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=778069251c199e0aec2851d53b0700fe4204da0e;p=thirdparty%2Fgcc.git mep.c (mep_asm_init_sections): Add section flags and ..vliw directive to VLIW sections. * config/mep/mep.c (mep_asm_init_sections): Add section flags and .vliw directive to VLIW sections. From-SVN: r150288 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a37f9dc2350b..4fa79079b7b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-07-30 DJ Delorie + + * config/mep/mep.c (mep_asm_init_sections): Add section flags and + .vliw directive to VLIW sections. + 2009-07-30 Ralf Wildenhues * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps): diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c index dd229ee05d38..3d2dd1dbcd5b 100644 --- a/gcc/config/mep/mep.c +++ b/gcc/config/mep/mep.c @@ -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"); }