aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-07-30 21:36:12 -0400
committerDJ Delorie <dj@gcc.gnu.org>2009-07-30 21:36:12 -0400
commit778069251c199e0aec2851d53b0700fe4204da0e (patch)
tree2f1ca9fe4fb5030be43ba42fc17cda29b47e0c2b /gcc
parentddead5badb45f79e60f83801cc4e18122506325a (diff)
downloadgcc-778069251c199e0aec2851d53b0700fe4204da0e.zip
gcc-778069251c199e0aec2851d53b0700fe4204da0e.tar.gz
gcc-778069251c199e0aec2851d53b0700fe4204da0e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mep/mep.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a37f9dc..4fa7907 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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):
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index dd229ee..3d2dd1d 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");
}